#9B8E2D#9B8E2D

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

Color values

HEX#9B8E2D
RGBrgb(155, 142, 45)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 61%)
CMYKcmyk(0%, 8.4%, 71%, 39.2%)
CIE-LABlab(58.51, -6.63, 50.91)
CIE-LCHlch(58.51, 51.33, 97.42°)
OKLaboklab(64.01% -0.0232 0.1135)
OKLCHoklch(64.01% 0.116 101.5)
XYZxyz(23.6653, 26.5051, 6.3516)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E2D #2D3A9B
analogous
#9B572D #9B8E2D #719B2D
triadic
#9B8E2D #2D9B8E #8E2D9B
tetradic
#9B8E2D #2D9B57 #2D3A9B #9B2D71
square
#9B8E2D #2D9B57 #2D3A9B #9B2D71
split-complementary
#9B8E2D #2D719B #572D9B
monochromatic
#3C3711 #6C631F #9B8E2D #C7B73E #D5C96E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8E2D#FFFFFF#000000##000000
##9B8E2D1.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)
#9B8A1E
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A7847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e2d;
/* rgb */ color: rgb(155, 142, 45);
/* oklch */ color: oklch(64.0% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#bcae6c',
    500: '#9b8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e2d;
$custom-light: #bcae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e2d",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 52.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6401,
    "c": 0.11588,
    "h": 101.5
  },
  "luminance": 0.26504
}

Semantic roles & 50–950 ramp

primary
#9B8E2D
secondary
#6872BC
accent
#5BDE49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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