#9EA238#9EA238

#9EA238 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.128 H 111.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9EA238
RGBrgb(158, 162, 56)
HSLhsl(62, 49%, 43%)
HSVhsv(62, 65%, 64%)
CMYKcmyk(2.5%, 0%, 65.4%, 36.5%)
CIE-LABlab(64.48, -15.26, 52.53)
CIE-LCHlch(64.48, 54.70, 106.19°)
OKLaboklab(68.85% -0.0465 0.1187)
OKLCHoklch(68.85% 0.128 111.4)
XYZxyz(27.7355, 33.3960, 8.7256)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA238 #3C38A2
analogous
#A27138 #9EA238 #69A238
triadic
#9EA238 #389EA2 #A2389E
tetradic
#9EA238 #38A271 #3C38A2 #A23869
square
#9EA238 #38A271 #3C38A2 #A23869
split-complementary
#9EA238 #3869A2 #7138A2
monochromatic
#454719 #727528 #9EA238 #BFC453 #D0D381

Accessibility & contrast

On white

2.73
#9EA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9EA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA238
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA238#FFFFFF#000000##000000
##9EA2381.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea238;
/* rgb */ color: rgb(158, 162, 56);
/* oklch */ color: oklch(68.9% 0.128 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd74',
    500: '#9ea238',
    950: '#000000',
  },
}
SCSS
$custom: #9ea238;
$custom-light: #bdbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea238",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 62.264,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68854,
    "c": 0.12753,
    "h": 111.4
  },
  "luminance": 0.33395
}

Semantic roles & 50–950 ramp

primary
#9EA238
secondary
#7B79BD
accent
#50D855
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA238

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

Preview Lab → · Contrast checker → · Palette generator →

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