#ACB338#ACB338

#ACB338 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.143 H 112.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#ACB338
RGBrgb(172, 179, 56)
HSLhsl(63, 52%, 46%)
HSVhsv(63, 69%, 70%)
CMYKcmyk(3.9%, 0%, 68.7%, 29.8%)
CIE-LABlab(70.38, -17.94, 58.92)
CIE-LCHlch(70.38, 61.59, 106.93°)
OKLaboklab(73.85% -0.0548 0.1318)
OKLCHoklch(73.85% 0.143 112.6)
XYZxyz(33.8482, 41.2971, 9.9287)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB338 #3F38B3
analogous
#B37C38 #ACB338 #6EB338
triadic
#ACB338 #38ACB3 #B338AC
tetradic
#ACB338 #38B37C #3F38B3 #B3386E
square
#ACB338 #38B37C #3F38B3 #B3386E
split-complementary
#ACB338 #386EB3 #7C38B3
monochromatic
#52561B #7F8429 #ACB338 #C6CC5C #D6DB8B

Accessibility & contrast

On white

2.27
#ACB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#ACB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB338
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB338#FFFFFF#000000##000000
##ACB3381.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB25
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#B7A89B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb338;
/* rgb */ color: rgb(172, 179, 56);
/* oklch */ color: oklch(73.9% 0.143 112.6);
Tailwind
colors: {
  custom: {
    50: '#c8c976',
    500: '#acb338',
    950: '#000000',
  },
}
SCSS
$custom: #acb338;
$custom-light: #c8c976;
$custom-dark: #000000;
JSON
{
  "hex": "#acb338",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 63.415,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73852,
    "c": 0.14276,
    "h": 112.6
  },
  "luminance": 0.41296
}

Semantic roles & 50–950 ramp

primary
#ACB338
secondary
#8682C5
accent
#4CDC54
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ACB338

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

Preview Lab → · Contrast checker → · Palette generator →

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