#9A8E1D#9A8E1D

#9A8E1D is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.125 H 102.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A8E1D
RGBrgb(154, 142, 29)
HSLhsl(54, 68%, 36%)
HSVhsv(54, 81%, 60%)
CMYKcmyk(0%, 7.8%, 81.2%, 39.6%)
CIE-LABlab(58.33, -7.79, 56.45)
CIE-LCHlch(58.33, 56.99, 97.86°)
OKLaboklab(63.81% -0.028 0.1223)
OKLCHoklch(63.81% 0.125 102.9)
XYZxyz(23.2223, 26.3058, 5.0165)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8E1D #1D299A
analogous
#9A4F1D #9A8E1D #679A1D
triadic
#9A8E1D #1D9A8E #8E1D9A
tetradic
#9A8E1D #1D9A4F #1D299A #9A1D67
square
#9A8E1D #1D9A4F #1D299A #9A1D67
split-complementary
#9A8E1D #1D679A #4F1D9A
monochromatic
#332F0A #665F13 #9A8E1D #CEBD27 #DFD153

Accessibility & contrast

On white

3.35
#9A8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9A8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8E1D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8E1D#FFFFFF#000000##000000
##9A8E1D1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9F8F26
Tritanopia (blue-blind)
#A68379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8e1d;
/* rgb */ color: rgb(154, 142, 29);
/* oklch */ color: oklch(63.8% 0.125 102.9);
Tailwind
colors: {
  custom: {
    50: '#bcae64',
    500: '#9a8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8e1d;
$custom-light: #bcae64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8e1d",
  "rgb": {
    "r": 154,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 54.24,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.12542,
    "h": 102.9
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#9A8E1D
secondary
#515CC2
accent
#4DEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

#9A8E1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva