#9DA157#9DA157

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

Color values

HEX#9DA157
RGBrgb(157, 161, 87)
HSLhsl(63, 30%, 49%)
HSVhsv(63, 46%, 63%)
CMYKcmyk(2.5%, 0%, 46%, 36.9%)
CIE-LABlab(64.44, -12.57, 37.85)
CIE-LCHlch(64.44, 39.88, 108.38°)
OKLaboklab(68.91% -0.0356 0.0907)
OKLCHoklch(68.91% 0.097 111.4)
XYZxyz(28.3703, 33.3465, 13.9570)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA157 #5B57A1
analogous
#A18057 #9DA157 #78A157
triadic
#9DA157 #579DA1 #A1579D
tetradic
#9DA157 #57A180 #5B57A1 #A15778
square
#9DA157 #57A180 #5B57A1 #A15778
split-complementary
#9DA157 #5778A1 #8057A1
monochromatic
#50522C #767942 #9DA157 #B5B97D #CCCEA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA157#FFFFFF#000000##000000
##9DA1571.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)
#AB9B51
Deuteranopia (green-blind)
#AB9D5B
Tritanopia (blue-blind)
#A69990
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da157;
/* rgb */ color: rgb(157, 161, 87);
/* oklch */ color: oklch(68.9% 0.097 111.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc88',
    500: '#9da157',
    950: '#000000',
  },
}
SCSS
$custom: #9da157;
$custom-light: #bbbc88;
$custom-dark: #000000;
JSON
{
  "hex": "#9da157",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 63.243,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68907,
    "c": 0.09743,
    "h": 111.4
  },
  "luminance": 0.33346
}

Semantic roles & 50–950 ramp

primary
#9DA157
secondary
#9A98BC
accent
#62C667
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA157

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

Preview Lab → · Contrast checker → · Palette generator →

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