#AB9F38#AB9F38

#AB9F38 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.123 H 102.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AB9F38
RGBrgb(171, 159, 56)
HSLhsl(54, 51%, 45%)
HSVhsv(54, 67%, 67%)
CMYKcmyk(0%, 7%, 67.3%, 32.9%)
CIE-LABlab(64.76, -8.00, 53.17)
CIE-LCHlch(64.76, 53.77, 98.56°)
OKLaboklab(69.34% -0.0268 0.1197)
OKLCHoklch(69.34% 0.123 102.6)
XYZxyz(29.9078, 33.7409, 8.6779)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F38 #3844AB
analogous
#AB6638 #AB9F38 #7EAB38
triadic
#AB9F38 #38AB9F #9F38AB
tetradic
#AB9F38 #38AB66 #3844AB #AB387E
square
#AB9F38 #38AB66 #3844AB #AB387E
split-complementary
#AB9F38 #387EAB #6638AB
monochromatic
#4F491A #7D7429 #AB9F38 #C8BD58 #D7CF86

Accessibility & contrast

On white

2.71
#AB9F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AB9F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F38
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F38#FFFFFF#000000##000000
##AB9F381.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#B19F3E
Tritanopia (blue-blind)
#B8948A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f38;
/* rgb */ color: rgb(171, 159, 56);
/* oklch */ color: oklch(69.3% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#c7bb74',
    500: '#ab9f38',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f38;
$custom-light: #c7bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f38",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 53.739,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.12268,
    "h": 102.6
  },
  "luminance": 0.3374
}

Semantic roles & 50–950 ramp

primary
#AB9F38
secondary
#7D85C1
accent
#5CDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9F38

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

Preview Lab → · Contrast checker → · Palette generator →

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