Skip to content

#a5cf49

a balanced, vivid green · warm · closest name: Yellow Green

RGB
165, 207, 73
HSL
79°, 58%, 55%
CMYK
20, 0, 65, 19
Luminance
0.5311

At a glance

Every number on this page in one read: what #a5cf49 is made of, how bright it looks, and which way it leans.

Hex
#a5cf49
Hue
79°
green
Saturation
58%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
72%
weighted brightness
Luminance
0.5311
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.62:1
Closest name
Yellow Green
ΔE2000 2.2
Where it sits
Hue79° of 360°
Saturation58%
Lightness55%
Temperature
Warm ← → Cool41% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a5cf49
RGBrgb(165, 207, 73)
HSLhsl(79, 58%, 55%)
CMYKcmyk(20%, 0%, 65%, 19%)
LABlab(77.9 -33.3 59.8)
LCHlch(77.9 68.5 119.1)
OKLCHoklch(0.798 0.167 125.0)
Decimal10866505
Display P3color(display-p3 0.647 0.812 0.286)

Copy-ready code

/* CSS */
color: #a5cf49;
background-color: #a5cf49;
/* Tailwind (arbitrary) */
class="text-[#a5cf49] bg-[#a5cf49]"
/* SCSS */
$brand: #a5cf49;
/* SwiftUI */
Color(red: 0.647, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#a5cf49")
/* Flutter */
Color(0xFFA5CF49)
/* Python / OpenCV (BGR) */
(73, 207, 165)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #a5cf49 · 11.62:1
Use #000000AAA at every size.
Aa
White text · 1.81:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.62:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a5cf49 as text scores 1.81:1 on white and 11.62:1 on black.

Accessibility — WCAG contrast

Aa
#a5cf49 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#a5cf49 on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC237
deuteranopia · #D4C053
tritanopia · #ACC5B3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a5cf49 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FBF4
#F2F7E9
#E4EFCD
#D3E8A6
#BDDC7A
#a5cf49
#95C233
#7CA12B
#638122
#495E1C
#2E3B12
Base = 500Lightest = 50 · #F9FBF4Darkest = 950 · #2E3B12
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F2F7E9;
  --brand-200: #E4EFCD;
  --brand-300: #D3E8A6;
  --brand-400: #BDDC7A;
  --brand-500: #a5cf49;
  --brand-600: #95C233;
  --brand-700: #7CA12B;
  --brand-800: #638122;
  --brand-900: #495E1C;
  --brand-950: #2E3B12;
  --brand: #a5cf49;
  --brand-ink: #000000;
}

Colors that work with #a5cf49

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#829B4B
Captions on the surface
Accent#4D44D4
Second voice, not a rival
Dark variant#4E651B
Hover, pressed, headers
Light variant#F5FAEB
Selected rows, tints
Dark surface#1F2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #a5cf49

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#7349CF
Analogous left#CFB649
Analogous right#62CF49
Split-complement 1#4962CF
Split-complement 2#B649CF
Triadic 1#49A5CF
Triadic 2#CF49A5
Tetradic#49CFB6

RGB percentages

Red64.7%
Green81.2%
Blue28.6%

CMYK percentages

Cyan20.3%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#a5cf49 text on a black background

contrast 11.62:1

Card sample

#a5cf49 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #a5cf49;
Background color
Panel with #a5cf49 background
background-color: #a5cf49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #a5cf49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(165, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a5cf49;
background: linear-gradient(135deg, #a5cf49, #4CCF49);

Monochromatic scale

Palettes built from #a5cf49

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#a5cf49 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#a5cf49, answered

What color is #a5cf49?

#a5cf49 is a balanced vivid green, closest to Yellow Green (ΔE2000 2.2). It sits at 79° on the hue wheel with 58% saturation and 55% lightness, which reads as warm.

What is the RGB value of #a5cf49?

rgb(165, 207, 73) — 165 red, 207 green and 73 blue out of 255, or 64.7% / 81.2% / 28.6% by channel.

Is #a5cf49 a light or a dark color?

It is a light color. Relative luminance is 0.5311 and perceived brightness is 72%, so black text on it reaches 11.62:1.

Should I use black or white text on #a5cf49?

Black. It scores 11.62:1 against #a5cf49, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #a5cf49?

#7349CF sits directly opposite on the wheel. Softer options are the split-complements #4962CF and #B649CF, which give the same contrast with far less vibration.

What colors go well with #a5cf49?

For interface work: #F8FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #4D44D4 as an accent and #4E651B for hover and pressed states. For a palette, the analogous pair #CFB649 and #62CF49 stays calm, while #7349CF is the loudest partner.

What is #a5cf49 in CMYK for printing?

cmyk(20%, 0%, 65%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #a5cf49 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFC849; nudged cooler, #73D147.

Work with #a5cf49 in the Color Lab