#9DA152#9DA152

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

Color values

HEX#9DA152
RGBrgb(157, 161, 82)
HSLhsl(63, 33%, 48%)
HSVhsv(63, 49%, 63%)
CMYKcmyk(2.5%, 0%, 49.1%, 36.9%)
CIE-LABlab(64.38, -13.08, 40.31)
CIE-LCHlch(64.38, 42.37, 107.97°)
OKLaboklab(68.84% -0.0375 0.0957)
OKLCHoklch(68.84% 0.103 111.4)
XYZxyz(28.1730, 33.2676, 12.9182)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA152 #5652A1
analogous
#A17D52 #9DA152 #75A152
triadic
#9DA152 #529DA1 #A1529D
tetradic
#9DA152 #52A17D #5652A1 #A15275
square
#9DA152 #52A17D #5652A1 #A15275
split-complementary
#9DA152 #5275A1 #7D52A1
monochromatic
#4E5029 #75783D #9DA152 #B6BA77 #CCCE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA152#FFFFFF#000000##000000
##9DA1521.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)
#AB9B4B
Deuteranopia (green-blind)
#AC9D56
Tritanopia (blue-blind)
#A6998F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da152;
/* rgb */ color: rgb(157, 161, 82);
/* oklch */ color: oklch(68.8% 0.103 111.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc84',
    500: '#9da152',
    950: '#000000',
  },
}
SCSS
$custom: #9da152;
$custom-light: #bbbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9da152",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 63.038,
    "s": 32.51,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.1028,
    "h": 111.4
  },
  "luminance": 0.33267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DA152

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

Preview Lab → · Contrast checker → · Palette generator →

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