#AB9627#AB9627

#AB9627 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.3% C 0.126 H 97.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AB9627
RGBrgb(171, 150, 39)
HSLhsl(50, 63%, 41%)
HSVhsv(50, 77%, 67%)
CMYKcmyk(0%, 12.3%, 77.2%, 32.9%)
CIE-LABlab(62.18, -4.04, 57.24)
CIE-LCHlch(62.18, 57.38, 94.03°)
OKLaboklab(67.27% -0.0174 0.1252)
OKLCHoklch(67.27% 0.126 97.9)
XYZxyz(28.0686, 30.6186, 6.3506)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9627 #273CAB
analogous
#AB5427 #AB9627 #7EAB27
triadic
#AB9627 #27AB96 #9627AB
tetradic
#AB9627 #27AB54 #273CAB #AB277E
square
#AB9627 #27AB54 #273CAB #AB277E
split-complementary
#AB9627 #277EAB #5427AB
monochromatic
#473F10 #796A1C #AB9627 #D3BB3D #DECC6E

Accessibility & contrast

On white

2.95
#AB9627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AB9627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9627
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9627#FFFFFF#000000##000000
##AB96271.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69210
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9627;
/* rgb */ color: rgb(171, 150, 39);
/* oklch */ color: oklch(67.3% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#c8b46a',
    500: '#ab9627',
    950: '#000000',
  },
}
SCSS
$custom: #ab9627;
$custom-light: #c8b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9627",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 50.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.12637,
    "h": 97.9
  },
  "luminance": 0.30617
}

Semantic roles & 50–950 ramp

primary
#AB9627
secondary
#6978C5
accent
#5CE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9627

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

Preview Lab → · Contrast checker → · Palette generator →

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