#9C8F25#9C8F25

#9C8F25 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.122 H 102.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8F25
RGBrgb(156, 143, 37)
HSLhsl(53, 62%, 38%)
HSVhsv(53, 76%, 61%)
CMYKcmyk(0%, 8.3%, 76.3%, 38.8%)
CIE-LABlab(58.83, -7.11, 54.32)
CIE-LCHlch(58.83, 54.78, 97.46°)
OKLaboklab(64.27% -0.0254 0.1192)
OKLCHoklch(64.27% 0.122 102.1)
XYZxyz(23.8678, 26.8475, 5.6748)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F25 #25329C
analogous
#9C5325 #9C8F25 #6E9C25
triadic
#9C8F25 #259C8F #8F259C
tetradic
#9C8F25 #259C53 #25329C #9C256E
square
#9C8F25 #259C53 #25329C #9C256E
split-complementary
#9C8F25 #256E9C #53259C
monochromatic
#39340E #6B6219 #9C8F25 #CDBC31 #DACD62

Accessibility & contrast

On white

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

On black

6.37
#9C8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F25
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F25#FFFFFF#000000##000000
##9C8F251.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A0F
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f25;
/* rgb */ color: rgb(156, 143, 37);
/* oklch */ color: oklch(64.3% 0.122 102.1);
Tailwind
colors: {
  custom: {
    50: '#bdaf68',
    500: '#9c8f25',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f25;
$custom-light: #bdaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f25",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 53.445,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64269,
    "c": 0.12188,
    "h": 102.1
  },
  "luminance": 0.26846
}

Semantic roles & 50–950 ramp

primary
#9C8F25
secondary
#5E68BF
accent
#55E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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