#9DA752#9DA752

#9DA752 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.110 H 114.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9DA752
RGBrgb(157, 167, 82)
HSLhsl(67, 34%, 49%)
HSVhsv(67, 51%, 65%)
CMYKcmyk(6%, 0%, 50.9%, 34.5%)
CIE-LABlab(66.07, -16.19, 42.33)
CIE-LCHlch(66.07, 45.32, 110.94°)
OKLaboklab(70.19% -0.0463 0.1001)
OKLCHoklch(70.19% 0.11 114.8)
XYZxyz(29.2468, 35.4151, 13.2761)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA752 #5C52A7
analogous
#A78752 #9DA752 #73A752
triadic
#9DA752 #529DA7 #A7529D
tetradic
#9DA752 #52A787 #5C52A7 #A75273
square
#9DA752 #52A787 #5C52A7 #A75273
split-complementary
#9DA752 #5273A7 #8752A7
monochromatic
#50552A #767E3E #9DA752 #B5BD79 #CCD1A2

Accessibility & contrast

On white

2.60
#9DA752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9DA752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA752
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA752#FFFFFF#000000##000000
##9DA7521.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B1A157
Tritanopia (blue-blind)
#A59F94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9da752;
/* rgb */ color: rgb(157, 167, 82);
/* oklch */ color: oklch(70.2% 0.110 114.8);
Tailwind
colors: {
  custom: {
    50: '#bcc185',
    500: '#9da752',
    950: '#000000',
  },
}
SCSS
$custom: #9da752;
$custom-light: #bcc185;
$custom-dark: #000000;
JSON
{
  "hex": "#9da752",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 82
  },
  "hsl": {
    "h": 67.059,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70188,
    "c": 0.11034,
    "h": 114.8
  },
  "luminance": 0.35415
}

Semantic roles & 50–950 ramp

primary
#9DA752
secondary
#9B96BF
accent
#5ECA6A
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA752

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

Preview Lab → · Contrast checker → · Palette generator →

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