#9DA256#9DA256

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

Color values

HEX#9DA256
RGBrgb(157, 162, 86)
HSLhsl(64, 31%, 49%)
HSVhsv(64, 47%, 64%)
CMYKcmyk(3.1%, 0%, 46.9%, 36.5%)
CIE-LABlab(64.71, -13.20, 38.69)
CIE-LCHlch(64.71, 40.88, 108.84°)
OKLaboklab(69.12% -0.0374 0.0925)
OKLCHoklch(69.12% 0.1 112)
XYZxyz(28.5051, 33.6811, 13.8018)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA256 #5B56A2
analogous
#A28156 #9DA256 #77A256
triadic
#9DA256 #569DA2 #A2569D
tetradic
#9DA256 #56A281 #5B56A2 #A25677
square
#9DA256 #56A281 #5B56A2 #A25677
split-complementary
#9DA256 #5677A2 #8156A2
monochromatic
#50522C #767A41 #9DA256 #B5B97C #CCCFA4

Accessibility & contrast

On white

2.71
#9DA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9DA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA256
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA256#FFFFFF#000000##000000
##9DA2561.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da256;
/* rgb */ color: rgb(157, 162, 86);
/* oklch */ color: oklch(69.1% 0.100 112.0);
Tailwind
colors: {
  custom: {
    50: '#bbbd87',
    500: '#9da256',
    950: '#000000',
  },
}
SCSS
$custom: #9da256;
$custom-light: #bbbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9da256",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 63.947,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69116,
    "c": 0.09978,
    "h": 112
  },
  "luminance": 0.33681
}

Semantic roles & 50–950 ramp

primary
#9DA256
secondary
#9A98BC
accent
#61C768
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA256

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

Preview Lab → · Contrast checker → · Palette generator →

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