#9E942E#9E942E

#9E942E is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.6% C 0.120 H 103.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9E942E
RGBrgb(158, 148, 46)
HSLhsl(55, 55%, 40%)
HSVhsv(55, 71%, 62%)
CMYKcmyk(0%, 6.3%, 70.9%, 38%)
CIE-LABlab(60.47, -8.46, 52.54)
CIE-LCHlch(60.47, 53.22, 99.15°)
OKLaboklab(65.63% -0.0284 0.1171)
OKLCHoklch(65.63% 0.12 103.7)
XYZxyz(25.1846, 28.6472, 6.7871)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E942E #2E389E
analogous
#9E5C2E #9E942E #709E2E
triadic
#9E942E #2E9E94 #942E9E
tetradic
#9E942E #2E9E5C #2E389E #9E2E70
square
#9E942E #2E9E5C #2E389E #9E2E70
split-complementary
#9E942E #2E709E #5C2E9E
monochromatic
#3F3B12 #6F6820 #9E942E #C8BC41 #D6CD71

Accessibility & contrast

On white

3.12
#9E942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9E942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E942E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E942E#FFFFFF#000000##000000
##9E942E1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1E
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e942e;
/* rgb */ color: rgb(158, 148, 46);
/* oklch */ color: oklch(65.6% 0.120 103.7);
Tailwind
colors: {
  custom: {
    50: '#beb36d',
    500: '#9e942e',
    950: '#000000',
  },
}
SCSS
$custom: #9e942e;
$custom-light: #beb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e942e",
  "rgb": {
    "r": 158,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 54.643,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.12049,
    "h": 103.7
  },
  "luminance": 0.28646
}

Semantic roles & 50–950 ramp

primary
#9E942E
secondary
#6B72BD
accent
#57DE4A
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E942E

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

Preview Lab → · Contrast checker → · Palette generator →

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