#9C8F30#9C8F30

#9C8F30 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.115 H 101.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C8F30
RGBrgb(156, 143, 48)
HSLhsl(53, 53%, 40%)
HSVhsv(53, 69%, 61%)
CMYKcmyk(0%, 8.3%, 69.2%, 38.8%)
CIE-LABlab(58.91, -6.55, 50.09)
CIE-LCHlch(58.91, 50.52, 97.45°)
OKLaboklab(64.35% -0.0227 0.1123)
OKLCHoklch(64.35% 0.115 101.4)
XYZxyz(24.0673, 26.9273, 6.7255)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F30 #303D9C
analogous
#9C5930 #9C8F30 #739C30
triadic
#9C8F30 #309C8F #8F309C
tetradic
#9C8F30 #309C59 #303D9C #9C3073
square
#9C8F30 #309C59 #303D9C #9C3073
split-complementary
#9C8F30 #30739C #59309C
monochromatic
#3E3913 #6D6422 #9C8F30 #C5B644 #D4C873

Accessibility & contrast

On white

3.29
#9C8F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9C8F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F30
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F30#FFFFFF#000000##000000
##9C8F301.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B23
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#A8857C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f30;
/* rgb */ color: rgb(156, 143, 48);
/* oklch */ color: oklch(64.4% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#bcaf6e',
    500: '#9c8f30',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f30;
$custom-light: #bcaf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f30",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 52.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.1146,
    "h": 101.4
  },
  "luminance": 0.26926
}

Semantic roles & 50–950 ramp

primary
#9C8F30
secondary
#6C76BC
accent
#5DDC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F30

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

Preview Lab → · Contrast checker → · Palette generator →

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