#9EA255#9EA255

#9EA255 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.101 H 111.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9EA255
RGBrgb(158, 162, 85)
HSLhsl(63, 31%, 48%)
HSVhsv(63, 48%, 64%)
CMYKcmyk(2.5%, 0%, 47.5%, 36.5%)
CIE-LABlab(64.78, -12.88, 39.29)
CIE-LCHlch(64.78, 41.35, 108.15°)
OKLaboklab(69.19% -0.0367 0.0937)
OKLCHoklch(69.19% 0.101 111.4)
XYZxyz(28.6611, 33.7662, 13.6003)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA255 #5955A2
analogous
#A27F55 #9EA255 #77A255
triadic
#9EA255 #559EA2 #A2559E
tetradic
#9EA255 #55A27F #5955A2 #A25577
square
#9EA255 #55A27F #5955A2 #A25577
split-complementary
#9EA255 #5577A2 #7F55A2
monochromatic
#50522B #777A40 #9EA255 #B6BA7B #CCCFA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA255#FFFFFF#000000##000000
##9EA2551.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)
#AC9C4E
Deuteranopia (green-blind)
#AD9E59
Tritanopia (blue-blind)
#A79A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ea255;
/* rgb */ color: rgb(158, 162, 85);
/* oklch */ color: oklch(69.2% 0.101 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd87',
    500: '#9ea255',
    950: '#000000',
  },
}
SCSS
$custom: #9ea255;
$custom-light: #bcbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea255",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 63.117,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.10066,
    "h": 111.4
  },
  "luminance": 0.33766
}

Semantic roles & 50–950 ramp

primary
#9EA255
secondary
#9997BC
accent
#60C766
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9EA255

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

Preview Lab → · Contrast checker → · Palette generator →

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