#ACB138#ACB138

#ACB138 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.4% C 0.141 H 111.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#ACB138
RGBrgb(172, 177, 56)
HSLhsl(62, 52%, 46%)
HSVhsv(62, 68%, 69%)
CMYKcmyk(2.8%, 0%, 68.4%, 30.6%)
CIE-LABlab(69.83, -16.92, 58.36)
CIE-LCHlch(69.83, 60.76, 106.17°)
OKLaboklab(73.41% -0.052 0.1306)
OKLCHoklch(73.41% 0.141 111.7)
XYZxyz(33.4502, 40.5013, 9.7961)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB138 #3D38B1
analogous
#B17938 #ACB138 #70B138
triadic
#ACB138 #38ACB1 #B138AC
tetradic
#ACB138 #38B179 #3D38B1 #B13870
square
#ACB138 #38B179 #3D38B1 #B13870
split-complementary
#ACB138 #3870B1 #7938B1
monochromatic
#52541B #7F8329 #ACB138 #C7CB5B #D7DA8A

Accessibility & contrast

On white

2.31
#ACB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#ACB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB138
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB138#FFFFFF#000000##000000
##ACB1381.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#B8A699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #acb138;
/* rgb */ color: rgb(172, 177, 56);
/* oklch */ color: oklch(73.4% 0.141 111.7);
Tailwind
colors: {
  custom: {
    50: '#c8c876',
    500: '#acb138',
    950: '#000000',
  },
}
SCSS
$custom: #acb138;
$custom-light: #c8c876;
$custom-dark: #000000;
JSON
{
  "hex": "#acb138",
  "rgb": {
    "r": 172,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 62.479,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73405,
    "c": 0.1406,
    "h": 111.7
  },
  "luminance": 0.405
}

Semantic roles & 50–950 ramp

primary
#ACB138
secondary
#8481C4
accent
#4CDB52
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ACB138

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

Preview Lab → · Contrast checker → · Palette generator →

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