#AB9830#AB9830

#AB9830 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.122 H 98.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AB9830
RGBrgb(171, 152, 48)
HSLhsl(51, 56%, 43%)
HSVhsv(51, 72%, 67%)
CMYKcmyk(0%, 11.1%, 71.9%, 32.9%)
CIE-LABlab(62.78, -4.70, 54.44)
CIE-LCHlch(62.78, 54.65, 94.94°)
OKLaboklab(67.76% -0.0183 0.121)
OKLCHoklch(67.76% 0.122 98.6)
XYZxyz(28.5577, 31.3292, 7.3386)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9830 #3043AB
analogous
#AB5B30 #AB9830 #80AB30
triadic
#AB9830 #30AB98 #9830AB
tetradic
#AB9830 #30AB5B #3043AB #AB3080
square
#AB9830 #30AB5B #3043AB #AB3080
split-complementary
#AB9830 #3080AB #5B30AB
monochromatic
#4B4315 #7B6E23 #AB9830 #CDB94C #DACB7B

Accessibility & contrast

On white

2.89
#AB9830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AB9830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9830
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9830#FFFFFF#000000##000000
##AB98301.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#B88D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9830;
/* rgb */ color: rgb(171, 152, 48);
/* oklch */ color: oklch(67.8% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#c8b66f',
    500: '#ab9830',
    950: '#000000',
  },
}
SCSS
$custom: #ab9830;
$custom-light: #c8b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9830",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 50.732,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6776,
    "c": 0.12237,
    "h": 98.6
  },
  "luminance": 0.31328
}

Semantic roles & 50–950 ramp

primary
#AB9830
secondary
#7480C3
accent
#60DF48
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9830

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

Preview Lab → · Contrast checker → · Palette generator →

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