#9C8E26#9C8E26

#9C8E26 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.120 H 101.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8E26
RGBrgb(156, 142, 38)
HSLhsl(53, 61%, 38%)
HSVhsv(53, 76%, 61%)
CMYKcmyk(0%, 9%, 75.6%, 38.8%)
CIE-LABlab(58.56, -6.52, 53.70)
CIE-LCHlch(58.56, 54.09, 96.92°)
OKLaboklab(64.05% -0.0237 0.1181)
OKLCHoklch(64.05% 0.12 101.3)
XYZxyz(23.7343, 26.5549, 5.7088)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E26 #26349C
analogous
#9C5326 #9C8E26 #6F9C26
triadic
#9C8E26 #269C8E #8E269C
tetradic
#9C8E26 #269C53 #26349C #9C266F
square
#9C8E26 #269C53 #26349C #9C266F
split-complementary
#9C8E26 #266F9C #53269C
monochromatic
#3A340E #6B611A #9C8E26 #CDBB32 #D9CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E26#FFFFFF#000000##000000
##9C8E261.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)
#9C8A12
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e26;
/* rgb */ color: rgb(156, 142, 38);
/* oklch */ color: oklch(64.1% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#bdae68',
    500: '#9c8e26',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e26;
$custom-light: #bdae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e26",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 52.881,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64054,
    "c": 0.12043,
    "h": 101.3
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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