#9B8D2E#9B8D2E

#9B8D2E is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.114 H 100.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9B8D2E
RGBrgb(155, 141, 46)
HSLhsl(52, 54%, 39%)
HSVhsv(52, 70%, 61%)
CMYKcmyk(0%, 9%, 70.3%, 39.2%)
CIE-LABlab(58.24, -6.03, 50.22)
CIE-LCHlch(58.24, 50.58, 96.84°)
OKLaboklab(63.8% -0.0214 0.1123)
OKLCHoklch(63.8% 0.114 100.8)
XYZxyz(23.5366, 26.2166, 6.4048)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D2E #2E3C9B
analogous
#9B572E #9B8D2E #729B2E
triadic
#9B8D2E #2E9B8D #8D2E9B
tetradic
#9B8D2E #2E9B57 #2E3C9B #9B2E72
square
#9B8D2E #2E9B57 #2E3C9B #9B2E72
split-complementary
#9B8D2E #2E729B #572E9B
monochromatic
#3D3712 #6C6220 #9B8D2E #C6B540 #D4C76F

Accessibility & contrast

On white

3.36
#9B8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9B8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D2E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D2E#FFFFFF#000000##000000
##9B8D2E1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d2e;
/* rgb */ color: rgb(155, 141, 46);
/* oklch */ color: oklch(63.8% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#bcae6d',
    500: '#9b8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d2e;
$custom-light: #bcae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d2e",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 52.294,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.1143,
    "h": 100.8
  },
  "luminance": 0.26216
}

Semantic roles & 50–950 ramp

primary
#9B8D2E
secondary
#6974BC
accent
#5DDE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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