#9E912E#9E912E

#9E912E is a light, moderate yellow. Relative luminance 0.277; OKLCH L 65.0% C 0.118 H 101.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9E912E
RGBrgb(158, 145, 46)
HSLhsl(53, 55%, 40%)
HSVhsv(53, 71%, 62%)
CMYKcmyk(0%, 8.2%, 70.9%, 38%)
CIE-LABlab(59.63, -6.85, 51.71)
CIE-LCHlch(59.63, 52.16, 97.54°)
OKLaboklab(64.97% -0.0239 0.1153)
OKLCHoklch(64.97% 0.118 101.7)
XYZxyz(24.7202, 27.7182, 6.6323)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E912E #2E3B9E
analogous
#9E592E #9E912E #739E2E
triadic
#9E912E #2E9E91 #912E9E
tetradic
#9E912E #2E9E59 #2E3B9E #9E2E73
square
#9E912E #2E9E59 #2E3B9E #9E2E73
split-complementary
#9E912E #2E739E #592E9E
monochromatic
#3F3A12 #6F6620 #9E912E #C8B841 #D6CA71

Accessibility & contrast

On white

3.21
#9E912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9E912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E912E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E912E#FFFFFF#000000##000000
##9E912E1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#AA877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e912e;
/* rgb */ color: rgb(158, 145, 46);
/* oklch */ color: oklch(65.0% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#beb06d',
    500: '#9e912e',
    950: '#000000',
  },
}
SCSS
$custom: #9e912e;
$custom-light: #beb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e912e",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 53.036,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.11776,
    "h": 101.7
  },
  "luminance": 0.27717
}

Semantic roles & 50–950 ramp

primary
#9E912E
secondary
#6B74BD
accent
#5BDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E912E

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

Preview Lab → · Contrast checker → · Palette generator →

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