#9B8F1E#9B8F1E

#9B8F1E is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.126 H 102.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9B8F1E
RGBrgb(155, 143, 30)
HSLhsl(54, 68%, 36%)
HSVhsv(54, 81%, 61%)
CMYKcmyk(0%, 7.7%, 80.6%, 39.2%)
CIE-LABlab(58.70, -7.84, 56.51)
CIE-LCHlch(58.70, 57.05, 97.90°)
OKLaboklab(64.13% -0.0281 0.1225)
OKLCHoklch(64.13% 0.126 102.9)
XYZxyz(23.5755, 26.7083, 5.1414)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8F1E #1E2A9B
analogous
#9B511E #9B8F1E #699B1E
triadic
#9B8F1E #1E9B8F #8F1E9B
tetradic
#9B8F1E #1E9B51 #1E2A9B #9B1E69
square
#9B8F1E #1E9B51 #1E2A9B #9B1E69
split-complementary
#9B8F1E #1E699B #511E9B
monochromatic
#34300A #686014 #9B8F1E #CEBE28 #DED155

Accessibility & contrast

On white

3.31
#9B8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9B8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8F1E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8F1E#FFFFFF#000000##000000
##9B8F1E1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b8f1e;
/* rgb */ color: rgb(155, 143, 30);
/* oklch */ color: oklch(64.1% 0.126 102.9);
Tailwind
colors: {
  custom: {
    50: '#bcaf65',
    500: '#9b8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8f1e;
$custom-light: #bcaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8f1e",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 54.24,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.12571,
    "h": 102.9
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#9B8F1E
secondary
#535EC2
accent
#4EEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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