#ACB238#ACB238

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

Color values

HEX#ACB238
RGBrgb(172, 178, 56)
HSLhsl(63, 52%, 46%)
HSVhsv(63, 69%, 70%)
CMYKcmyk(3.4%, 0%, 68.5%, 30.2%)
CIE-LABlab(70.10, -17.43, 58.64)
CIE-LCHlch(70.10, 61.17, 106.55°)
OKLaboklab(73.63% -0.0534 0.1312)
OKLCHoklch(73.63% 0.142 112.2)
XYZxyz(33.6485, 40.8977, 9.8621)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB238 #3E38B2
analogous
#B27B38 #ACB238 #6FB238
triadic
#ACB238 #38ACB2 #B238AC
tetradic
#ACB238 #38B27B #3E38B2 #B2386F
square
#ACB238 #38B27B #3E38B2 #B2386F
split-complementary
#ACB238 #386FB2 #7B38B2
monochromatic
#52551B #7F8329 #ACB238 #C6CC5C #D6DA8A

Accessibility & contrast

On white

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

On black

9.18
#ACB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB238
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB238#FFFFFF#000000##000000
##ACB2381.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#B8A79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #acb238;
/* rgb */ color: rgb(172, 178, 56);
/* oklch */ color: oklch(73.6% 0.142 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c876',
    500: '#acb238',
    950: '#000000',
  },
}
SCSS
$custom: #acb238;
$custom-light: #c8c876;
$custom-dark: #000000;
JSON
{
  "hex": "#acb238",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 62.951,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73628,
    "c": 0.14168,
    "h": 112.2
  },
  "luminance": 0.40897
}

Semantic roles & 50–950 ramp

primary
#ACB238
secondary
#8581C5
accent
#4CDC53
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ACB238

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

Preview Lab → · Contrast checker → · Palette generator →

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