#9B8F2C#9B8F2C

#9B8F2C is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.117 H 102.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9B8F2C
RGBrgb(155, 143, 44)
HSLhsl(54, 56%, 39%)
HSVhsv(54, 72%, 61%)
CMYKcmyk(0%, 7.7%, 71.6%, 39.2%)
CIE-LABlab(58.79, -7.22, 51.58)
CIE-LCHlch(58.79, 52.08, 97.97°)
OKLaboklab(64.22% -0.025 0.1148)
OKLCHoklch(64.22% 0.117 102.3)
XYZxyz(23.7957, 26.7963, 6.3012)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8F2C #2C389B
analogous
#9B582C #9B8F2C #709B2C
triadic
#9B8F2C #2C9B8F #8F2C9B
tetradic
#9B8F2C #2C9B58 #2C389B #9B2C70
square
#9B8F2C #2C9B58 #2C389B #9B2C70
split-complementary
#9B8F2C #2C709B #582C9B
monochromatic
#3C3711 #6B631E #9B8F2C #C8B93C #D5CA6C

Accessibility & contrast

On white

3.30
#9B8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9B8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8F2C
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8F2C#FFFFFF#000000##000000
##9B8F2C1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1D
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8f2c;
/* rgb */ color: rgb(155, 143, 44);
/* oklch */ color: oklch(64.2% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcaf6c',
    500: '#9b8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #9b8f2c;
$custom-light: #bcaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8f2c",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 53.514,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.11747,
    "h": 102.3
  },
  "luminance": 0.26795
}

Semantic roles & 50–950 ramp

primary
#9B8F2C
secondary
#6770BC
accent
#59DF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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