#9E9022#9E9022

#9E9022 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.124 H 101.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9E9022
RGBrgb(158, 144, 34)
HSLhsl(53, 65%, 38%)
HSVhsv(53, 78%, 62%)
CMYKcmyk(0%, 8.9%, 78.5%, 38%)
CIE-LABlab(59.28, -6.87, 55.84)
CIE-LCHlch(59.28, 56.26, 97.01°)
OKLaboklab(64.66% -0.0252 0.1218)
OKLCHoklch(64.66% 0.124 101.7)
XYZxyz(24.3637, 27.3322, 5.5054)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9022 #22309E
analogous
#9E5222 #9E9022 #6E9E22
triadic
#9E9022 #229E90 #90229E
tetradic
#9E9022 #229E52 #22309E #9E226E
square
#9E9022 #229E52 #22309E #9E226E
split-complementary
#9E9022 #226E9E #52229E
monochromatic
#39340C #6C6217 #9E9022 #D0BE2D #DCCE5E

Accessibility & contrast

On white

3.25
#9E9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9E9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9022
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9022#FFFFFF#000000##000000
##9E90221.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#AB857B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e9022;
/* rgb */ color: rgb(158, 144, 34);
/* oklch */ color: oklch(64.7% 0.124 101.7);
Tailwind
colors: {
  custom: {
    50: '#beb067',
    500: '#9e9022',
    950: '#000000',
  },
}
SCSS
$custom: #9e9022;
$custom-light: #beb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9022",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 53.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.12432,
    "h": 101.7
  },
  "luminance": 0.27331
}

Semantic roles & 50–950 ramp

primary
#9E9022
secondary
#5B66C1
accent
#53E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E9022

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

Preview Lab → · Contrast checker → · Palette generator →

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