#A7CF3B#A7CF3B

#A7CF3B is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.9% C 0.175 H 123.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#A7CF3B
RGBrgb(167, 207, 59)
HSLhsl(76, 61%, 52%)
HSVhsv(76, 71%, 81%)
CMYKcmyk(19.3%, 0%, 71.5%, 18.8%)
CIE-LABlab(77.97, -33.36, 65.23)
CIE-LCHlch(77.97, 73.26, 117.09°)
OKLaboklab(79.87% -0.097 0.1457)
OKLCHoklch(79.87% 0.175 123.7)
XYZxyz(39.0390, 53.1566, 12.3404)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CF3B #633BCF
analogous
#CFAD3B #A7CF3B #5DCF3B
triadic
#A7CF3B #3BA7CF #CF3BA7
tetradic
#A7CF3B #3BCFAD #633BCF #CF3B5D
square
#A7CF3B #3BCFAD #633BCF #CF3B5D
split-complementary
#A7CF3B #3B5DCF #AD3BCF
monochromatic
#5C731C #83A528 #A7CF3B #BDDB6C #D3E79D

Accessibility & contrast

On white

1.81
#A7CF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#A7CF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CF3B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CF3B#FFFFFF#000000##000000
##A7CF3B1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC220
Deuteranopia (green-blind)
#D6C048
Tritanopia (blue-blind)
#AFC5B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a7cf3b;
/* rgb */ color: rgb(167, 207, 59);
/* oklch */ color: oklch(79.9% 0.175 123.7);
Tailwind
colors: {
  custom: {
    50: '#c5dd7a',
    500: '#a7cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #a7cf3b;
$custom-light: #c5dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cf3b",
  "rgb": {
    "r": 167,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 76.216,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7987,
    "c": 0.17504,
    "h": 123.7
  },
  "luminance": 0.53157
}

Semantic roles & 50–950 ramp

primary
#A7CF3B
secondary
#46327C
accent
#44E46F
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7CF3B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A7CF3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva