#9EA230#9EA230

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

Color values

HEX#9EA230
RGBrgb(158, 162, 48)
HSLhsl(62, 54%, 41%)
HSVhsv(62, 70%, 64%)
CMYKcmyk(2.5%, 0%, 70.4%, 36.5%)
CIE-LABlab(64.42, -15.73, 55.68)
CIE-LCHlch(64.42, 57.86, 105.77°)
OKLaboklab(68.79% -0.0487 0.1241)
OKLCHoklch(68.79% 0.133 111.4)
XYZxyz(27.5553, 33.3239, 7.7763)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA230 #3430A2
analogous
#A26D30 #9EA230 #65A230
triadic
#9EA230 #309EA2 #A2309E
tetradic
#9EA230 #30A26D #3430A2 #A23065
square
#9EA230 #30A26D #3430A2 #A23065
split-complementary
#9EA230 #3065A2 #6D30A2
monochromatic
#424414 #707322 #9EA230 #C4C847 #D3D676

Accessibility & contrast

On white

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

On black

7.66
#9EA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA230
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA230#FFFFFF#000000##000000
##9EA2301.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea230;
/* rgb */ color: rgb(158, 162, 48);
/* oklch */ color: oklch(68.8% 0.133 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd70',
    500: '#9ea230',
    950: '#000000',
  },
}
SCSS
$custom: #9ea230;
$custom-light: #bebd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea230",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 62.105,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.13325,
    "h": 111.4
  },
  "luminance": 0.33323
}

Semantic roles & 50–950 ramp

primary
#9EA230
secondary
#726FBE
accent
#4ADE4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA230

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

Preview Lab → · Contrast checker → · Palette generator →

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