#9E912A#9E912A

#9E912A is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.120 H 101.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9E912A
RGBrgb(158, 145, 42)
HSLhsl(53, 58%, 39%)
HSVhsv(53, 73%, 62%)
CMYKcmyk(0%, 8.2%, 73.4%, 38%)
CIE-LABlab(59.61, -7.05, 53.26)
CIE-LCHlch(59.61, 53.73, 97.54°)
OKLaboklab(64.94% -0.0249 0.1179)
OKLCHoklch(64.94% 0.12 101.9)
XYZxyz(24.6450, 27.6881, 6.2362)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E912A #2A379E
analogous
#9E572A #9E912A #719E2A
triadic
#9E912A #2A9E91 #912A9E
tetradic
#9E912A #2A9E57 #2A379E #9E2A71
square
#9E912A #2A9E57 #2A379E #9E2A71
split-complementary
#9E912A #2A719E #572A9E
monochromatic
#3D3810 #6E651D #9E912A #CBBB3A #D8CB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E912A#FFFFFF#000000##000000
##9E912A1.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)
#9F8C18
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#AA867D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e912a;
/* rgb */ color: rgb(158, 145, 42);
/* oklch */ color: oklch(64.9% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#beb06b',
    500: '#9e912a',
    950: '#000000',
  },
}
SCSS
$custom: #9e912a;
$custom-light: #beb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e912a",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 53.276,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64937,
    "c": 0.12045,
    "h": 101.9
  },
  "luminance": 0.27687
}

Semantic roles & 50–950 ramp

primary
#9E912A
secondary
#6670BE
accent
#58E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E912A

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

Preview Lab → · Contrast checker → · Palette generator →

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