#9DAF3A#9DAF3A

#9DAF3A is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.141 H 117.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#9DAF3A
RGBrgb(157, 175, 58)
HSLhsl(69, 50%, 46%)
HSVhsv(69, 67%, 69%)
CMYKcmyk(10.3%, 0%, 66.9%, 31.4%)
CIE-LABlab(68.12, -22.15, 55.46)
CIE-LCHlch(68.12, 59.72, 111.78°)
OKLaboklab(71.76% -0.0655 0.1252)
OKLCHoklch(71.76% 0.141 117.6)
XYZxyz(29.9989, 38.1338, 9.7824)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF3A #4C3AAF
analogous
#AF863A #9DAF3A #62AF3A
triadic
#9DAF3A #3A9DAF #AF3A9D
tetradic
#9DAF3A #3AAF86 #4C3AAF #AF3A62
square
#9DAF3A #3AAF86 #4C3AAF #AF3A62
split-complementary
#9DAF3A #3A62AF #863AAF
monochromatic
#4B531C #74812B #9DAF3A #B9C95D #CDD98B

Accessibility & contrast

On white

2.43
#9DAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#9DAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF3A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF3A#FFFFFF#000000##000000
##9DAF3A1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA629
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#A6A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf3a;
/* rgb */ color: rgb(157, 175, 58);
/* oklch */ color: oklch(71.8% 0.141 117.6);
Tailwind
colors: {
  custom: {
    50: '#bdc677',
    500: '#9daf3a',
    950: '#000000',
  },
}
SCSS
$custom: #9daf3a;
$custom-light: #bdc677;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf3a",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 69.231,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.14136,
    "h": 117.6
  },
  "luminance": 0.38134
}

Semantic roles & 50–950 ramp

primary
#9DAF3A
secondary
#8C82C3
accent
#4EDA64
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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