#9C8E25#9C8E25

#9C8E25 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.121 H 101.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8E25
RGBrgb(156, 142, 37)
HSLhsl(53, 62%, 38%)
HSVhsv(53, 76%, 61%)
CMYKcmyk(0%, 9%, 76.3%, 38.8%)
CIE-LABlab(58.55, -6.57, 54.05)
CIE-LCHlch(58.55, 54.45, 96.93°)
OKLaboklab(64.05% -0.0239 0.1186)
OKLCHoklch(64.05% 0.121 101.4)
XYZxyz(23.7183, 26.5486, 5.6250)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E25 #25339C
analogous
#9C5225 #9C8E25 #6E9C25
triadic
#9C8E25 #259C8E #8E259C
tetradic
#9C8E25 #259C52 #25339C #9C256E
square
#9C8E25 #259C52 #25339C #9C256E
split-complementary
#9C8E25 #256E9C #52259C
monochromatic
#39340E #6B6119 #9C8E25 #CDBB31 #DACC62

Accessibility & contrast

On white

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

On black

6.31
#9C8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E25
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E25#FFFFFF#000000##000000
##9C8E251.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e25;
/* rgb */ color: rgb(156, 142, 37);
/* oklch */ color: oklch(64.0% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#bdae68',
    500: '#9c8e25',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e25;
$custom-light: #bdae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e25",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 52.941,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.12103,
    "h": 101.4
  },
  "luminance": 0.26547
}

Semantic roles & 50–950 ramp

primary
#9C8E25
secondary
#5E69BF
accent
#56E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9C8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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