#9B8E2C#9B8E2C

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

Color values

HEX#9B8E2C
RGBrgb(155, 142, 44)
HSLhsl(53, 56%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 8.4%, 71.6%, 39.2%)
CIE-LABlab(58.51, -6.68, 51.30)
CIE-LCHlch(58.51, 51.74, 97.42°)
OKLaboklab(64% -0.0234 0.1142)
OKLCHoklch(64% 0.117 101.6)
XYZxyz(23.6462, 26.4974, 6.2514)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E2C #2C399B
analogous
#9B572C #9B8E2C #719B2C
triadic
#9B8E2C #2C9B8E #8E2C9B
tetradic
#9B8E2C #2C9B57 #2C399B #9B2C71
square
#9B8E2C #2C9B57 #2C399B #9B2C71
split-complementary
#9B8E2C #2C719B #572C9B
monochromatic
#3C3711 #6B621E #9B8E2C #C8B73C #D5C96C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8E2C#FFFFFF#000000##000000
##9B8E2C1.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)
#9B8A1D
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#A7847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e2c;
/* rgb */ color: rgb(155, 142, 44);
/* oklch */ color: oklch(64.0% 0.117 101.6);
Tailwind
colors: {
  custom: {
    50: '#bcae6c',
    500: '#9b8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e2c;
$custom-light: #bcae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e2c",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 52.973,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64002,
    "c": 0.11658,
    "h": 101.6
  },
  "luminance": 0.26496
}

Semantic roles & 50–950 ramp

primary
#9B8E2C
secondary
#6771BC
accent
#5ADF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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