#AB9B36#AB9B36

#AB9B36 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.121 H 100.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AB9B36
RGBrgb(171, 155, 54)
HSLhsl(52, 52%, 44%)
HSVhsv(52, 68%, 67%)
CMYKcmyk(0%, 9.4%, 68.4%, 32.9%)
CIE-LABlab(63.65, -5.99, 52.86)
CIE-LCHlch(63.65, 53.20, 96.46°)
OKLaboklab(68.46% -0.0213 0.1187)
OKLCHoklch(68.46% 0.121 100.2)
XYZxyz(29.1831, 32.3683, 8.1998)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B36 #3646AB
analogous
#AB6136 #AB9B36 #81AB36
triadic
#AB9B36 #36AB9B #9B36AB
tetradic
#AB9B36 #36AB61 #3646AB #AB3681
square
#AB9B36 #36AB61 #3646AB #AB3681
split-complementary
#AB9B36 #3681AB #6136AB
monochromatic
#4E4719 #7C7127 #AB9B36 #C9B955 #D8CC83

Accessibility & contrast

On white

2.81
#AB9B36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AB9B36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B36
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B36#FFFFFF#000000##000000
##AB9B361.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9728
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b36;
/* rgb */ color: rgb(171, 155, 54);
/* oklch */ color: oklch(68.5% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#c7b873',
    500: '#ab9b36',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b36;
$custom-light: #c7b873;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b36",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 54
  },
  "hsl": {
    "h": 51.795,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68457,
    "c": 0.12063,
    "h": 100.2
  },
  "luminance": 0.32367
}

Semantic roles & 50–950 ramp

primary
#AB9B36
secondary
#7B85C2
accent
#60DB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9B36

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

Preview Lab → · Contrast checker → · Palette generator →

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