#9DAF2C#9DAF2C

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

Color values

HEX#9DAF2C
RGBrgb(157, 175, 44)
HSLhsl(68, 60%, 43%)
HSVhsv(68, 75%, 69%)
CMYKcmyk(10.3%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.03, -22.93, 60.57)
CIE-LCHlch(68.03, 64.77, 110.74°)
OKLaboklab(71.65% -0.069 0.1337)
OKLCHoklch(71.65% 0.15 117.3)
XYZxyz(29.6899, 38.0102, 8.1550)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF2C #3E2CAF
analogous
#AF7F2C #9DAF2C #5CAF2C
triadic
#9DAF2C #2C9DAF #AF2C9D
tetradic
#9DAF2C #2CAF7F #3E2CAF #AF2C5C
square
#9DAF2C #2CAF7F #3E2CAF #AF2C5C
split-complementary
#9DAF2C #2C5CAF #7F2CAF
monochromatic
#454D13 #717E20 #9DAF2C #BED147 #CFDD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAF2C#FFFFFF#000000##000000
##9DAF2C1.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)
#BBA50E
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf2c;
/* rgb */ color: rgb(157, 175, 44);
/* oklch */ color: oklch(71.7% 0.150 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc66f',
    500: '#9daf2c',
    950: '#000000',
  },
}
SCSS
$custom: #9daf2c;
$custom-light: #bdc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf2c",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 68.244,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.15046,
    "h": 117.3
  },
  "luminance": 0.3801
}

Semantic roles & 50–950 ramp

primary
#9DAF2C
secondary
#7D72C5
accent
#45E35B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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