#ACAF2E#ACAF2E

#ACAF2E is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.145 H 110.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#ACAF2E
RGBrgb(172, 175, 46)
HSLhsl(61, 58%, 43%)
HSVhsv(61, 74%, 69%)
CMYKcmyk(1.7%, 0%, 73.7%, 31.4%)
CIE-LABlab(69.20, -16.42, 61.41)
CIE-LCHlch(69.20, 63.57, 104.97°)
OKLaboklab(72.89% -0.0516 0.1353)
OKLCHoklch(72.89% 0.145 110.9)
XYZxyz(32.8375, 39.6287, 8.5036)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAF2E #312EAF
analogous
#AF712E #ACAF2E #6BAF2E
triadic
#ACAF2E #2EACAF #AF2EAC
tetradic
#ACAF2E #2EAF71 #312EAF #AF2E6B
square
#ACAF2E #2EAF71 #312EAF #AF2E6B
split-complementary
#ACAF2E #2E6BAF #712EAF
monochromatic
#4D4E15 #7C7F21 #ACAF2E #CCD04B #DADC7B

Accessibility & contrast

On white

2.35
#ACAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#ACAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAF2E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAF2E#FFFFFF#000000##000000
##ACAF2E1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B8A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #acaf2e;
/* rgb */ color: rgb(172, 175, 46);
/* oklch */ color: oklch(72.9% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c671',
    500: '#acaf2e',
    950: '#000000',
  },
}
SCSS
$custom: #acaf2e;
$custom-light: #c8c671;
$custom-dark: #000000;
JSON
{
  "hex": "#acaf2e",
  "rgb": {
    "r": 172,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 61.395,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.14483,
    "h": 110.9
  },
  "luminance": 0.39628
}

Semantic roles & 50–950 ramp

primary
#ACAF2E
secondary
#7674C5
accent
#46E24A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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