#9B8E1E#9B8E1E

#9B8E1E is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.125 H 102.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B8E1E
RGBrgb(155, 142, 30)
HSLhsl(54, 68%, 36%)
HSVhsv(54, 81%, 61%)
CMYKcmyk(0%, 8.4%, 80.6%, 39.2%)
CIE-LABlab(58.42, -7.30, 56.26)
CIE-LCHlch(58.42, 56.73, 97.39°)
OKLaboklab(63.91% -0.0266 0.122)
OKLCHoklch(63.91% 0.125 102.3)
XYZxyz(23.4260, 26.4094, 5.0916)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E1E #1E2B9B
analogous
#9B501E #9B8E1E #6A9B1E
triadic
#9B8E1E #1E9B8E #8E1E9B
tetradic
#9B8E1E #1E9B50 #1E2B9B #9B1E6A
square
#9B8E1E #1E9B50 #1E2B9B #9B1E6A
split-complementary
#9B8E1E #1E6A9B #501E9B
monochromatic
#34300A #685F14 #9B8E1E #CEBD28 #DED055

Accessibility & contrast

On white

3.34
#9B8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9B8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8E1E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8E1E#FFFFFF#000000##000000
##9B8E1E1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b8e1e;
/* rgb */ color: rgb(155, 142, 30);
/* oklch */ color: oklch(63.9% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcae65',
    500: '#9b8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e1e;
$custom-light: #bcae65;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e1e",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 53.76,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.12486,
    "h": 102.3
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#9B8E1E
secondary
#535FC2
accent
#4FEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9B8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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