#9EA233#9EA233

#9EA233 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.131 H 111.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9EA233
RGBrgb(158, 162, 51)
HSLhsl(62, 52%, 42%)
HSVhsv(62, 69%, 64%)
CMYKcmyk(2.5%, 0%, 68.5%, 36.5%)
CIE-LABlab(64.44, -15.56, 54.53)
CIE-LCHlch(64.44, 56.71, 105.92°)
OKLaboklab(68.81% -0.0479 0.1222)
OKLCHoklch(68.81% 0.131 111.4)
XYZxyz(27.6193, 33.3495, 8.1135)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA233 #3733A2
analogous
#A26F33 #9EA233 #67A233
triadic
#9EA233 #339EA2 #A2339E
tetradic
#9EA233 #33A26F #3733A2 #A23367
square
#9EA233 #33A26F #3733A2 #A23367
split-complementary
#9EA233 #3367A2 #6F33A2
monochromatic
#434516 #717324 #9EA233 #C2C74C #D2D57A

Accessibility & contrast

On white

2.74
#9EA233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9EA233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA233
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA233#FFFFFF#000000##000000
##9EA2331.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B22
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#A9988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea233;
/* rgb */ color: rgb(158, 162, 51);
/* oklch */ color: oklch(68.8% 0.131 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd71',
    500: '#9ea233',
    950: '#000000',
  },
}
SCSS
$custom: #9ea233;
$custom-light: #bebd71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea233",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 62.162,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68812,
    "c": 0.1312,
    "h": 111.4
  },
  "luminance": 0.33349
}

Semantic roles & 50–950 ramp

primary
#9EA233
secondary
#7673BE
accent
#4CDC51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA233

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

Preview Lab → · Contrast checker → · Palette generator →

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