#9A8F1D#9A8F1D

#9A8F1D is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.126 H 103.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9A8F1D
RGBrgb(154, 143, 29)
HSLhsl(55, 68%, 36%)
HSVhsv(55, 81%, 60%)
CMYKcmyk(0%, 7.1%, 81.2%, 39.6%)
CIE-LABlab(58.61, -8.33, 56.70)
CIE-LCHlch(58.61, 57.31, 98.36°)
OKLaboklab(64.03% -0.0295 0.1228)
OKLCHoklch(64.03% 0.126 103.5)
XYZxyz(23.3717, 26.6047, 5.0663)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8F1D #1D289A
analogous
#9A501D #9A8F1D #669A1D
triadic
#9A8F1D #1D9A8F #8F1D9A
tetradic
#9A8F1D #1D9A50 #1D289A #9A1D66
square
#9A8F1D #1D9A50 #1D289A #9A1D66
split-complementary
#9A8F1D #1D669A #501D9A
monochromatic
#332F0A #665F13 #9A8F1D #CEBF27 #DFD253

Accessibility & contrast

On white

3.32
#9A8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9A8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8F1D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8F1D#FFFFFF#000000##000000
##9A8F1D1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#A6847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9a8f1d;
/* rgb */ color: rgb(154, 143, 29);
/* oklch */ color: oklch(64.0% 0.126 103.5);
Tailwind
colors: {
  custom: {
    50: '#bcaf64',
    500: '#9a8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8f1d;
$custom-light: #bcaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8f1d",
  "rgb": {
    "r": 154,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 54.72,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64032,
    "c": 0.12628,
    "h": 103.5
  },
  "luminance": 0.26604
}

Semantic roles & 50–950 ramp

primary
#9A8F1D
secondary
#515BC2
accent
#4CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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