#ABAC3E#ABAC3E

#ABAC3E is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.131 H 109.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#ABAC3E
RGBrgb(171, 172, 62)
HSLhsl(61, 47%, 46%)
HSVhsv(61, 64%, 67%)
CMYKcmyk(0.6%, 0%, 64%, 32.5%)
CIE-LABlab(68.40, -14.43, 54.43)
CIE-LCHlch(68.40, 56.32, 104.85°)
OKLaboklab(72.26% -0.0443 0.1233)
OKLCHoklch(72.26% 0.131 109.8)
XYZxyz(32.4176, 38.5117, 10.2823)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC3E #3F3EAC
analogous
#AC763E #ABAC3E #74AC3E
triadic
#ABAC3E #3EABAC #AC3EAB
tetradic
#ABAC3E #3EAC76 #3F3EAC #AC3E74
square
#ABAC3E #3EAC76 #3F3EAC #AC3E74
split-complementary
#ABAC3E #3E74AC #763EAC
monochromatic
#52521E #7E7F2E #ABAC3E #C5C661 #D6D68E

Accessibility & contrast

On white

2.41
#ABAC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#ABAC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC3E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC3E#FFFFFF#000000##000000
##ABAC3E1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#B7A295
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac3e;
/* rgb */ color: rgb(171, 172, 62);
/* oklch */ color: oklch(72.3% 0.131 109.8);
Tailwind
colors: {
  custom: {
    50: '#c7c479',
    500: '#abac3e',
    950: '#000000',
  },
}
SCSS
$custom: #abac3e;
$custom-light: #c7c479;
$custom-dark: #000000;
JSON
{
  "hex": "#abac3e",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 60.545,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72258,
    "c": 0.13107,
    "h": 109.8
  },
  "luminance": 0.38511
}

Semantic roles & 50–950 ramp

primary
#ABAC3E
secondary
#8585C1
accent
#51D752
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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