Skip to content

#a7cf2d

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

RGB
167, 207, 45
HSL
75°, 64%, 49%
CMYK
19, 0, 78, 19
Luminance
0.5303

At a glance

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

Hex
#a7cf2d
Hue
75°
green
Saturation
64%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
72%
weighted brightness
Luminance
0.5303
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.61:1
Closest name
Yellow Green
ΔE2000 2.4
Where it sits
Hue75° of 360°
Saturation64%
Lightness49%
Temperature
Warm ← → Cool37% 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#a7cf2d
RGBrgb(167, 207, 45)
HSLhsl(75, 64%, 49%)
CMYKcmyk(19%, 0%, 78%, 19%)
LABlab(77.9 -34.0 69.7)
LCHlch(77.9 77.5 116.1)
OKLCHoklch(0.798 0.183 123.2)
Decimal10997549
Display P3color(display-p3 0.655 0.812 0.176)

Copy-ready code

/* CSS */
color: #a7cf2d;
background-color: #a7cf2d;
/* Tailwind (arbitrary) */
class="text-[#a7cf2d] bg-[#a7cf2d]"
/* SCSS */
$brand: #a7cf2d;
/* SwiftUI */
Color(red: 0.655, green: 0.812, blue: 0.176)
/* Android */
Color.parseColor("#a7cf2d")
/* Flutter */
Color(0xFFA7CF2D)
/* Python / OpenCV (BGR) */
(45, 207, 167)

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 #a7cf2d · 11.61:1
Use #000000AAA at every size.
Aa
White text · 1.81:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.61:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a7cf2d as text scores 1.81:1 on white and 11.61:1 on black.

Accessibility — WCAG contrast

Aa
#a7cf2d on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#a7cf2d on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC200
deuteranopia · #D6C03E
tritanopia · #B0C4B1

Color scale — 50 to 950

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

#F9FBF4
#F4F7E8
#E7F1CB
#D9EBA3
#C6E175
#B3D747
#a7cf2d
#87A824
#6C861D
#506119
#323D10
Base = 600Lightest = 50 · #F9FBF4Darkest = 950 · #323D10
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F4F7E8;
  --brand-200: #E7F1CB;
  --brand-300: #D9EBA3;
  --brand-400: #C6E175;
  --brand-500: #B3D747;
  --brand-600: #a7cf2d;
  --brand-700: #87A824;
  --brand-800: #6C861D;
  --brand-900: #506119;
  --brand-950: #323D10;
  --brand: #a7cf2d;
  --brand-ink: #000000;
}

Colors that work with #a7cf2d

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#F9FAF4
Tinted page background
Border#E2EDC0
Hairlines and dividers
Muted text#879B4B
Captions on the surface
Accent#2829D4
Second voice, not a rival
Dark variant#556917
Hover, pressed, headers
Light variant#F6FAEA
Selected rows, tints
Dark surface#202414
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 #a7cf2d

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#552DCF
Analogous left#CFA62D
Analogous right#56CF2D
Split-complement 1#2D56CF
Split-complement 2#A62DCF
Triadic 1#2DA7CF
Triadic 2#CF2DA7
Tetradic#2DCFA6

RGB percentages

Red65.5%
Green81.2%
Blue17.6%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow78.3%
Key (black)18.8%

Color previews

#a7cf2d text on a black background

contrast 11.61:1

Card sample

#a7cf2d text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 207, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 207, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7cf2d;
background: linear-gradient(135deg, #a7cf2d, #3BCF2D);

Monochromatic scale

Palettes built from #a7cf2d

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.

#a7cf2d 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.

#a7cf2d, answered

What color is #a7cf2d?

#a7cf2d is a balanced vivid green, closest to Yellow Green (ΔE2000 2.4). It sits at 75° on the hue wheel with 64% saturation and 49% lightness, which reads as warm.

What is the RGB value of #a7cf2d?

rgb(167, 207, 45) — 167 red, 207 green and 45 blue out of 255, or 65.5% / 81.2% / 17.6% by channel.

Is #a7cf2d a light or a dark color?

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

Should I use black or white text on #a7cf2d?

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

What is the complementary color of #a7cf2d?

#552DCF sits directly opposite on the wheel. Softer options are the split-complements #2D56CF and #A62DCF, which give the same contrast with far less vibration.

What colors go well with #a7cf2d?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #879B4B for secondary text, #2829D4 as an accent and #556917 for hover and pressed states. For a palette, the analogous pair #CFA62D and #56CF2D stays calm, while #552DCF is the loudest partner.

What is #a7cf2d in CMYK for printing?

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

Is #a7cf2d warm or cool?

Warm — it scores 37 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFBC2D; nudged cooler, #6BD12A.

Work with #a7cf2d in the Color Lab