#9EA338#9EA338

#9EA338 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.129 H 111.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9EA338
RGBrgb(158, 163, 56)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 66%, 64%)
CMYKcmyk(3.1%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.76, -15.77, 52.83)
CIE-LCHlch(64.76, 55.13, 106.62°)
OKLaboklab(69.08% -0.048 0.1194)
OKLCHoklch(69.08% 0.129 111.9)
XYZxyz(27.9124, 33.7497, 8.7846)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA338 #3D38A3
analogous
#A37238 #9EA338 #68A338
triadic
#9EA338 #389EA3 #A3389E
tetradic
#9EA338 #38A372 #3D38A3 #A33868
square
#9EA338 #38A372 #3D38A3 #A33868
split-complementary
#9EA338 #3868A3 #7238A3
monochromatic
#464819 #727528 #9EA338 #BFC454 #D0D482

Accessibility & contrast

On white

2.71
#9EA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9EA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA338
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA338#FFFFFF#000000##000000
##9EA3381.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C29
Deuteranopia (green-blind)
#B09E3F
Tritanopia (blue-blind)
#A8998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ea338;
/* rgb */ color: rgb(158, 163, 56);
/* oklch */ color: oklch(69.1% 0.129 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbe74',
    500: '#9ea338',
    950: '#000000',
  },
}
SCSS
$custom: #9ea338;
$custom-light: #bdbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea338",
  "rgb": {
    "r": 158,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 62.804,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.12864,
    "h": 111.9
  },
  "luminance": 0.33749
}

Semantic roles & 50–950 ramp

primary
#9EA338
secondary
#7D79BD
accent
#4FD856
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA338

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

Preview Lab → · Contrast checker → · Palette generator →

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