#9DA151#9DA151

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

Color values

HEX#9DA151
RGBrgb(157, 161, 81)
HSLhsl(63, 33%, 47%)
HSVhsv(63, 50%, 63%)
CMYKcmyk(2.5%, 0%, 49.7%, 36.9%)
CIE-LABlab(64.36, -13.17, 40.79)
CIE-LCHlch(64.36, 42.87, 107.90°)
OKLaboklab(68.82% -0.0379 0.0967)
OKLCHoklch(68.82% 0.104 111.4)
XYZxyz(28.1352, 33.2525, 12.7192)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA151 #5551A1
analogous
#A17D51 #9DA151 #75A151
triadic
#9DA151 #519DA1 #A1519D
tetradic
#9DA151 #51A17D #5551A1 #A15175
square
#9DA151 #51A17D #5551A1 #A15175
split-complementary
#9DA151 #5175A1 #7D51A1
monochromatic
#4E5028 #75783D #9DA151 #B6BA75 #CCCE9E

Accessibility & contrast

On white

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

On black

7.65
#9DA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA151
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA151#FFFFFF#000000##000000
##9DA1511.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4A
Deuteranopia (green-blind)
#AC9D55
Tritanopia (blue-blind)
#A6998F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da151;
/* rgb */ color: rgb(157, 161, 81);
/* oklch */ color: oklch(68.8% 0.104 111.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc84',
    500: '#9da151',
    950: '#000000',
  },
}
SCSS
$custom: #9da151;
$custom-light: #bbbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9da151",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 63,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.10385,
    "h": 111.4
  },
  "luminance": 0.33252
}

Semantic roles & 50–950 ramp

primary
#9DA151
secondary
#9593BB
accent
#5FC964
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA151

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

Preview Lab → · Contrast checker → · Palette generator →

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