#9D862E#9D862E

#9D862E is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.109 H 94.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D862E
RGBrgb(157, 134, 46)
HSLhsl(48, 55%, 40%)
HSVhsv(48, 71%, 62%)
CMYKcmyk(0%, 14.6%, 70.7%, 38.4%)
CIE-LABlab(56.50, -1.28, 48.52)
CIE-LCHlch(56.50, 48.54, 91.51°)
OKLaboklab(62.46% -0.0079 0.1086)
OKLCHoklch(62.46% 0.109 94.2)
XYZxyz(22.9240, 24.4168, 6.0897)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D862E #2E459D
analogous
#9D4F2E #9D862E #7C9D2E
triadic
#9D862E #2E9D86 #862E9D
tetradic
#9D862E #2E9D4F #2E459D #9D2E7C
square
#9D862E #2E9D4F #2E459D #9D2E7C
split-complementary
#9D862E #2E7C9D #4F2E9D
monochromatic
#3E3512 #6E5E20 #9D862E #C7AB41 #D5C070

Accessibility & contrast

On white

3.57
#9D862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9D862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D862E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D862E#FFFFFF#000000##000000
##9D862E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#AA7B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d862e;
/* rgb */ color: rgb(157, 134, 46);
/* oklch */ color: oklch(62.5% 0.109 94.2);
Tailwind
colors: {
  custom: {
    50: '#bda86c',
    500: '#9d862e',
    950: '#000000',
  },
}
SCSS
$custom: #9d862e;
$custom-light: #bda86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d862e",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 47.568,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62464,
    "c": 0.1089,
    "h": 94.2
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#9D862E
secondary
#6A7BBD
accent
#68DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9D862E

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

Preview Lab → · Contrast checker → · Palette generator →

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