#ACCB38#ACCB38

#ACCB38 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.3% C 0.170 H 120.9°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#ACCB38
RGBrgb(172, 203, 56)
HSLhsl(73, 59%, 51%)
HSVhsv(73, 72%, 80%)
CMYKcmyk(15.3%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.14, -29.66, 65.58)
CIE-LCHlch(77.14, 71.97, 114.34°)
OKLaboklab(79.28% -0.0874 0.1458)
OKLCHoklch(79.28% 0.17 120.9)
XYZxyz(39.0837, 51.7681, 11.6739)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCB38 #5738CB
analogous
#CBA038 #ACCB38 #62CB38
triadic
#ACCB38 #38ACCB #CB38AC
tetradic
#ACCB38 #38CBA0 #5738CB #CB3862
square
#ACCB38 #38CBA0 #5738CB #CB3862
split-complementary
#ACCB38 #3862CB #A038CB
monochromatic
#5B6C1C #849D29 #ACCB38 #C0D869 #D4E499

Accessibility & contrast

On white

1.85
#ACCB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#ACCB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCB38
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCB38#FFFFFF#000000##000000
##ACCB381.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#B6C0AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #accb38;
/* rgb */ color: rgb(172, 203, 56);
/* oklch */ color: oklch(79.3% 0.170 120.9);
Tailwind
colors: {
  custom: {
    50: '#c8da79',
    500: '#accb38',
    950: '#000000',
  },
}
SCSS
$custom: #accb38;
$custom-light: #c8da79;
$custom-dark: #000000;
JSON
{
  "hex": "#accb38",
  "rgb": {
    "r": 172,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 72.653,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79282,
    "c": 0.17,
    "h": 120.9
  },
  "luminance": 0.51768
}

Semantic roles & 50–950 ramp

primary
#ACCB38
secondary
#403176
accent
#46E267
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #ACCB38

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

Preview Lab → · Contrast checker → · Palette generator →

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