#9DA852#9DA852

#9DA852 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.112 H 115.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9DA852
RGBrgb(157, 168, 82)
HSLhsl(68, 34%, 49%)
HSVhsv(68, 51%, 66%)
CMYKcmyk(6.5%, 0%, 51.2%, 34.1%)
CIE-LABlab(66.35, -16.71, 42.66)
CIE-LCHlch(66.35, 45.82, 111.39°)
OKLaboklab(70.41% -0.0478 0.1009)
OKLCHoklch(70.41% 0.112 115.4)
XYZxyz(29.4307, 35.7829, 13.3374)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA852 #5D52A8
analogous
#A88852 #9DA852 #72A852
triadic
#9DA852 #529DA8 #A8529D
tetradic
#9DA852 #52A888 #5D52A8 #A85272
square
#9DA852 #52A888 #5D52A8 #A85272
split-complementary
#9DA852 #5272A8 #8852A8
monochromatic
#50562A #777F3E #9DA852 #B5BE79 #CCD2A3

Accessibility & contrast

On white

2.57
#9DA852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#9DA852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA852
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA852#FFFFFF#000000##000000
##9DA8521.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14A
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#A5A094
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9da852;
/* rgb */ color: rgb(157, 168, 82);
/* oklch */ color: oklch(70.4% 0.112 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc185',
    500: '#9da852',
    950: '#000000',
  },
}
SCSS
$custom: #9da852;
$custom-light: #bcc185;
$custom-dark: #000000;
JSON
{
  "hex": "#9da852",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 67.674,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70414,
    "c": 0.11162,
    "h": 115.4
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#9DA852
secondary
#9C97BF
accent
#5DCA6B
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA852

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

Preview Lab → · Contrast checker → · Palette generator →

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