#9B8E2E#9B8E2E

#9B8E2E is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.115 H 101.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9B8E2E
RGBrgb(155, 142, 46)
HSLhsl(53, 54%, 39%)
HSVhsv(53, 70%, 61%)
CMYKcmyk(0%, 8.4%, 70.3%, 39.2%)
CIE-LABlab(58.52, -6.57, 50.50)
CIE-LCHlch(58.52, 50.93, 97.41°)
OKLaboklab(64.02% -0.0229 0.1129)
OKLCHoklch(64.02% 0.115 101.5)
XYZxyz(23.6847, 26.5128, 6.4542)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E2E #2E3B9B
analogous
#9B582E #9B8E2E #729B2E
triadic
#9B8E2E #2E9B8E #8E2E9B
tetradic
#9B8E2E #2E9B58 #2E3B9B #9B2E72
square
#9B8E2E #2E9B58 #2E3B9B #9B2E72
split-complementary
#9B8E2E #2E729B #582E9B
monochromatic
#3D3812 #6C6320 #9B8E2E #C6B640 #D4C86F

Accessibility & contrast

On white

3.33
#9B8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9B8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8E2E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8E2E#FFFFFF#000000##000000
##9B8E2E1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A20
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#A7847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e2e;
/* rgb */ color: rgb(155, 142, 46);
/* oklch */ color: oklch(64.0% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#bcae6d',
    500: '#9b8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e2e;
$custom-light: #bcae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e2e",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 52.844,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.11517,
    "h": 101.5
  },
  "luminance": 0.26512
}

Semantic roles & 50–950 ramp

primary
#9B8E2E
secondary
#6973BC
accent
#5CDE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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