#ACB22F#ACB22F

#ACB22F is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.147 H 112.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#ACB22F
RGBrgb(172, 178, 47)
HSLhsl(63, 58%, 44%)
HSVhsv(63, 74%, 70%)
CMYKcmyk(3.4%, 0%, 73.6%, 30.2%)
CIE-LABlab(70.05, -17.89, 61.87)
CIE-LCHlch(70.05, 64.40, 106.13°)
OKLaboklab(73.57% -0.0556 0.1365)
OKLCHoklch(73.57% 0.147 112.2)
XYZxyz(33.4478, 40.8175, 8.8054)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB22F #352FB2
analogous
#B2772F #ACB22F #6BB22F
triadic
#ACB22F #2FACB2 #B22FAC
tetradic
#ACB22F #2FB277 #352FB2 #B22F6B
square
#ACB22F #2FB277 #352FB2 #B22F6B
split-complementary
#ACB22F #2F6BB2 #772FB2
monochromatic
#4E5115 #7D8222 #ACB22F #CAD04E #D9DD7E

Accessibility & contrast

On white

2.29
#ACB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#ACB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB22F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB22F#FFFFFF#000000##000000
##ACB22F1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA14
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#B8A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #acb22f;
/* rgb */ color: rgb(172, 178, 47);
/* oklch */ color: oklch(73.6% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c871',
    500: '#acb22f',
    950: '#000000',
  },
}
SCSS
$custom: #acb22f;
$custom-light: #c8c871;
$custom-dark: #000000;
JSON
{
  "hex": "#acb22f",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 62.748,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73565,
    "c": 0.14736,
    "h": 112.2
  },
  "luminance": 0.40817
}

Semantic roles & 50–950 ramp

primary
#ACB22F
secondary
#7B77C6
accent
#46E14D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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