#9E9A2D#9E9A2D

#9E9A2D is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.127 H 107.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9E9A2D
RGBrgb(158, 154, 45)
HSLhsl(58, 56%, 40%)
HSVhsv(58, 72%, 62%)
CMYKcmyk(0%, 2.5%, 71.5%, 38%)
CIE-LABlab(62.14, -11.71, 54.59)
CIE-LCHlch(62.14, 55.83, 102.10°)
OKLaboklab(66.96% -0.0377 0.1212)
OKLCHoklch(66.96% 0.127 107.3)
XYZxyz(26.1308, 30.5706, 7.0064)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9A2D #2D319E
analogous
#9E612D #9E9A2D #6A9E2D
triadic
#9E9A2D #2D9E9A #9A2D9E
tetradic
#9E9A2D #2D9E61 #2D319E #9E2D6A
square
#9E9A2D #2D9E61 #2D319E #9E2D6A
split-complementary
#9E9A2D #2D6A9E #612D9E
monochromatic
#3F3D12 #6E6C1F #9E9A2D #C9C440 #D6D26F

Accessibility & contrast

On white

2.95
#9E9A2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9E9A2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9A2D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9A2D#FFFFFF#000000##000000
##9E9A2D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9a2d;
/* rgb */ color: rgb(158, 154, 45);
/* oklch */ color: oklch(67.0% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#beb76d',
    500: '#9e9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9a2d;
$custom-light: #beb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9a2d",
  "rgb": {
    "r": 158,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 57.876,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.12694,
    "h": 107.3
  },
  "luminance": 0.3057
}

Semantic roles & 50–950 ramp

primary
#9E9A2D
secondary
#696CBD
accent
#4EDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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