#9A8B1D#9A8B1D

#9A8B1D is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.123 H 101.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9A8B1D
RGBrgb(154, 139, 29)
HSLhsl(53, 68%, 36%)
HSVhsv(53, 81%, 60%)
CMYKcmyk(0%, 9.7%, 81.2%, 39.6%)
CIE-LABlab(57.49, -6.17, 55.71)
CIE-LCHlch(57.49, 56.05, 96.32°)
OKLaboklab(63.14% -0.0234 0.1207)
OKLCHoklch(63.14% 0.123 101)
XYZxyz(22.7819, 25.4251, 4.8697)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8B1D #1D2C9A
analogous
#9A4C1D #9A8B1D #6A9A1D
triadic
#9A8B1D #1D9A8B #8B1D9A
tetradic
#9A8B1D #1D9A4C #1D2C9A #9A1D6A
square
#9A8B1D #1D9A4C #1D2C9A #9A1D6A
split-complementary
#9A8B1D #1D6A9A #4C1D9A
monochromatic
#332E0A #665D13 #9A8B1D #CEB927 #DFCE53

Accessibility & contrast

On white

3.45
#9A8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9A8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8B1D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8B1D#FFFFFF#000000##000000
##9A8B1D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9D8D26
Tritanopia (blue-blind)
#A68077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8b1d;
/* rgb */ color: rgb(154, 139, 29);
/* oklch */ color: oklch(63.1% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#bcac64',
    500: '#9a8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8b1d;
$custom-light: #bcac64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8b1d",
  "rgb": {
    "r": 154,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 52.8,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.12291,
    "h": 101
  },
  "luminance": 0.25424
}

Semantic roles & 50–950 ramp

primary
#9A8B1D
secondary
#515FC2
accent
#52EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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