#ACCF38#ACCF38

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

Color values

HEX#ACCF38
RGBrgb(172, 207, 56)
HSLhsl(74, 61%, 52%)
HSVhsv(74, 73%, 81%)
CMYKcmyk(16.9%, 0%, 72.9%, 18.8%)
CIE-LABlab(78.28, -31.54, 66.67)
CIE-LCHlch(78.28, 73.76, 115.32°)
OKLaboklab(80.2% -0.0926 0.1481)
OKLCHoklch(80.2% 0.175 122)
XYZxyz(40.0405, 53.6818, 11.9928)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCF38 #5B38CF
analogous
#CFA738 #ACCF38 #61CF38
triadic
#ACCF38 #38ACCF #CF38AC
tetradic
#ACCF38 #38CFA7 #5B38CF #CF3861
square
#ACCF38 #38CFA7 #5B38CF #CF3861
split-complementary
#ACCF38 #3861CF #A738CF
monochromatic
#5D711B #86A327 #ACCF38 #C1DB69 #D5E79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACCF38#FFFFFF#000000##000000
##ACCF381.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)
#DBC219
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#B5C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #accf38;
/* rgb */ color: rgb(172, 207, 56);
/* oklch */ color: oklch(80.2% 0.175 122.0);
Tailwind
colors: {
  custom: {
    50: '#c8dd79',
    500: '#accf38',
    950: '#000000',
  },
}
SCSS
$custom: #accf38;
$custom-light: #c8dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#accf38",
  "rgb": {
    "r": 172,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 73.907,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80197,
    "c": 0.17466,
    "h": 122
  },
  "luminance": 0.53682
}

Semantic roles & 50–950 ramp

primary
#ACCF38
secondary
#42317A
accent
#44E469
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #ACCF38

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

Preview Lab → · Contrast checker → · Palette generator →

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