#ACCF3B#ACCF3B

#ACCF3B is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.2% C 0.173 H 122.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#ACCF3B
RGBrgb(172, 207, 59)
HSLhsl(74, 61%, 52%)
HSVhsv(74, 71%, 81%)
CMYKcmyk(16.9%, 0%, 71.5%, 18.8%)
CIE-LABlab(78.29, -31.38, 65.66)
CIE-LCHlch(78.29, 72.77, 115.55°)
OKLaboklab(80.22% -0.0919 0.1465)
OKLCHoklch(80.22% 0.173 122.1)
XYZxyz(40.1161, 53.7120, 12.3909)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCF3B #5E3BCF
analogous
#CFA83B #ACCF3B #62CF3B
triadic
#ACCF3B #3BACCF #CF3BAC
tetradic
#ACCF3B #3BCFA8 #5E3BCF #CF3B62
square
#ACCF3B #3BCFA8 #5E3BCF #CF3B62
split-complementary
#ACCF3B #3B62CF #A83BCF
monochromatic
#5F731C #87A528 #ACCF3B #C1DB6C #D6E79D

Accessibility & contrast

On white

1.79
#ACCF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#ACCF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCF3B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCF3B#FFFFFF#000000##000000
##ACCF3B1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC220
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#B5C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #accf3b;
/* rgb */ color: rgb(172, 207, 59);
/* oklch */ color: oklch(80.2% 0.173 122.1);
Tailwind
colors: {
  custom: {
    50: '#c8dd7b',
    500: '#accf3b',
    950: '#000000',
  },
}
SCSS
$custom: #accf3b;
$custom-light: #c8dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#accf3b",
  "rgb": {
    "r": 172,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 74.189,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80217,
    "c": 0.17289,
    "h": 122.1
  },
  "luminance": 0.53712
}

Semantic roles & 50–950 ramp

primary
#ACCF3B
secondary
#44327C
accent
#44E46A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #ACCF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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