#9C8F26#9C8F26

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

Color values

HEX#9C8F26
RGBrgb(156, 143, 38)
HSLhsl(53, 61%, 38%)
HSVhsv(53, 76%, 61%)
CMYKcmyk(0%, 8.3%, 75.6%, 38.8%)
CIE-LABlab(58.84, -7.06, 53.96)
CIE-LCHlch(58.84, 54.42, 97.46°)
OKLaboklab(64.28% -0.0252 0.1186)
OKLCHoklch(64.28% 0.121 102)
XYZxyz(23.8837, 26.8538, 5.7586)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F26 #26339C
analogous
#9C5426 #9C8F26 #6E9C26
triadic
#9C8F26 #269C8F #8F269C
tetradic
#9C8F26 #269C54 #26339C #9C266E
square
#9C8F26 #269C54 #26339C #9C266E
split-complementary
#9C8F26 #266E9C #54269C
monochromatic
#3A350E #6B621A #9C8F26 #CDBC32 #D9CC63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F26#FFFFFF#000000##000000
##9C8F261.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)
#9D8A12
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f26;
/* rgb */ color: rgb(156, 143, 38);
/* oklch */ color: oklch(64.3% 0.121 102.0);
Tailwind
colors: {
  custom: {
    50: '#bdaf69',
    500: '#9c8f26',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f26;
$custom-light: #bdaf69;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f26",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 53.39,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64276,
    "c": 0.12128,
    "h": 102
  },
  "luminance": 0.26853
}

Semantic roles & 50–950 ramp

primary
#9C8F26
secondary
#5F6ABF
accent
#55E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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