#A7CF31#A7CF31

#A7CF31 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.181 H 123.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#A7CF31
RGBrgb(167, 207, 49)
HSLhsl(75, 62%, 50%)
HSVhsv(75, 76%, 81%)
CMYKcmyk(19.3%, 0%, 76.3%, 18.8%)
CIE-LABlab(77.91, -33.87, 68.48)
CIE-LCHlch(77.91, 76.40, 116.32°)
OKLaboklab(79.81% -0.0992 0.1509)
OKLCHoklch(79.81% 0.181 123.3)
XYZxyz(38.8040, 53.0626, 11.1029)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CF31 #5931CF
analogous
#CFA831 #A7CF31 #58CF31
triadic
#A7CF31 #31A7CF #CF31A7
tetradic
#A7CF31 #31CFA8 #5931CF #CF3158
square
#A7CF31 #31CFA8 #5931CF #CF3158
split-complementary
#A7CF31 #3158CF #A831CF
monochromatic
#576C19 #7F9E25 #A7CF31 #BCDB63 #D1E694

Accessibility & contrast

On white

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

On black

11.61
#A7CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CF31
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CF31#FFFFFF#000000##000000
##A7CF311.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC203
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#B0C4B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a7cf31;
/* rgb */ color: rgb(167, 207, 49);
/* oklch */ color: oklch(79.8% 0.181 123.3);
Tailwind
colors: {
  custom: {
    50: '#c5dd76',
    500: '#a7cf31',
    950: '#000000',
  },
}
SCSS
$custom: #a7cf31;
$custom-light: #c5dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cf31",
  "rgb": {
    "r": 167,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 75.19,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79808,
    "c": 0.18062,
    "h": 123.3
  },
  "luminance": 0.53063
}

Semantic roles & 50–950 ramp

primary
#A7CF31
secondary
#402E76
accent
#43E56C
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A7CF31

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

Preview Lab → · Contrast checker → · Palette generator →

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