#9DA052#9DA052

#9DA052 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.6% C 0.102 H 110.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9DA052
RGBrgb(157, 160, 82)
HSLhsl(62, 32%, 47%)
HSVhsv(62, 49%, 63%)
CMYKcmyk(1.9%, 0%, 48.8%, 37.3%)
CIE-LABlab(64.10, -12.55, 39.97)
CIE-LCHlch(64.10, 41.89, 107.43°)
OKLaboklab(68.61% -0.036 0.095)
OKLCHoklch(68.61% 0.102 110.8)
XYZxyz(27.9990, 32.9195, 12.8602)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA052 #5552A0
analogous
#A07C52 #9DA052 #76A052
triadic
#9DA052 #529DA0 #A0529D
tetradic
#9DA052 #52A07C #5552A0 #A05276
square
#9DA052 #52A07C #5552A0 #A05276
split-complementary
#9DA052 #5276A0 #7C52A0
monochromatic
#4E4F29 #75783D #9DA052 #B6B976 #CCCE9F

Accessibility & contrast

On white

2.77
#9DA052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#9DA052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA052
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA052#FFFFFF#000000##000000
##9DA0521.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4B
Deuteranopia (green-blind)
#AB9D56
Tritanopia (blue-blind)
#A6988E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da052;
/* rgb */ color: rgb(157, 160, 82);
/* oklch */ color: oklch(68.6% 0.102 110.8);
Tailwind
colors: {
  custom: {
    50: '#bbbc84',
    500: '#9da052',
    950: '#000000',
  },
}
SCSS
$custom: #9da052;
$custom-light: #bbbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9da052",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 62.308,
    "s": 32.231,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.10157,
    "h": 110.8
  },
  "luminance": 0.32919
}

Semantic roles & 50–950 ramp

primary
#9DA052
secondary
#9593BB
accent
#5FC863
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9DA052

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

Preview Lab → · Contrast checker → · Palette generator →

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