#9DAF2A#9DAF2A

#9DAF2A is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.6% C 0.152 H 117.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#9DAF2A
RGBrgb(157, 175, 42)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 76%, 69%)
CMYKcmyk(10.3%, 0%, 76%, 31.4%)
CIE-LABlab(68.02, -23.03, 61.22)
CIE-LCHlch(68.02, 65.41, 110.61°)
OKLaboklab(71.64% -0.0694 0.1347)
OKLCHoklch(71.64% 0.152 117.3)
XYZxyz(29.6533, 37.9956, 7.9618)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF2A #3C2AAF
analogous
#AF7E2A #9DAF2A #5BAF2A
triadic
#9DAF2A #2A9DAF #AF2A9D
tetradic
#9DAF2A #2AAF7E #3C2AAF #AF2A5B
square
#9DAF2A #2AAF7E #3C2AAF #AF2A5B
split-complementary
#9DAF2A #2A5BAF #7E2AAF
monochromatic
#444C12 #717E1E #9DAF2A #BFD244 #D0DE75

Accessibility & contrast

On white

2.44
#9DAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#9DAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF2A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF2A#FFFFFF#000000##000000
##9DAF2A1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA508
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf2a;
/* rgb */ color: rgb(157, 175, 42);
/* oklch */ color: oklch(71.6% 0.152 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc66e',
    500: '#9daf2a',
    950: '#000000',
  },
}
SCSS
$custom: #9daf2a;
$custom-light: #bdc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf2a",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 68.12,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71641,
    "c": 0.15157,
    "h": 117.3
  },
  "luminance": 0.37995
}

Semantic roles & 50–950 ramp

primary
#9DAF2A
secondary
#7B6FC6
accent
#43E459
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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