#9DA252#9DA252

#9DA252 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.104 H 112.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9DA252
RGBrgb(157, 162, 82)
HSLhsl(64, 33%, 48%)
HSVhsv(64, 49%, 64%)
CMYKcmyk(3.1%, 0%, 49.4%, 36.5%)
CIE-LABlab(64.66, -13.60, 40.64)
CIE-LCHlch(64.66, 42.86, 108.50°)
OKLaboklab(69.06% -0.039 0.0965)
OKLCHoklch(69.06% 0.104 112)
XYZxyz(28.3485, 33.6185, 12.9767)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA252 #5752A2
analogous
#A27F52 #9DA252 #75A252
triadic
#9DA252 #529DA2 #A2529D
tetradic
#9DA252 #52A27F #5752A2 #A25275
square
#9DA252 #52A27F #5752A2 #A25275
split-complementary
#9DA252 #5275A2 #7F52A2
monochromatic
#4E5129 #76793D #9DA252 #B6BA77 #CCCFA0

Accessibility & contrast

On white

2.72
#9DA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#9DA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA252
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA252#FFFFFF#000000##000000
##9DA2521.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4B
Deuteranopia (green-blind)
#AD9E56
Tritanopia (blue-blind)
#A69A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da252;
/* rgb */ color: rgb(157, 162, 82);
/* oklch */ color: oklch(69.1% 0.104 112.0);
Tailwind
colors: {
  custom: {
    50: '#bbbd85',
    500: '#9da252',
    950: '#000000',
  },
}
SCSS
$custom: #9da252;
$custom-light: #bbbd85;
$custom-dark: #000000;
JSON
{
  "hex": "#9da252",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 63.75,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6906,
    "c": 0.10404,
    "h": 112
  },
  "luminance": 0.33618
}

Semantic roles & 50–950 ramp

primary
#9DA252
secondary
#9694BC
accent
#5FC966
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA252

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

Preview Lab → · Contrast checker → · Palette generator →

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