#9DAF22#9DAF22

#9DAF22 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.156 H 117.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#9DAF22
RGBrgb(157, 175, 34)
HSLhsl(68, 67%, 41%)
HSVhsv(68, 81%, 69%)
CMYKcmyk(10.3%, 0%, 80.6%, 31.4%)
CIE-LABlab(67.98, -23.36, 63.61)
CIE-LCHlch(67.98, 67.76, 110.16°)
OKLaboklab(71.6% -0.071 0.1384)
OKLCHoklch(71.6% 0.156 117.1)
XYZxyz(29.5241, 37.9439, 7.2817)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF22 #3422AF
analogous
#AF7A22 #9DAF22 #56AF22
triadic
#9DAF22 #229DAF #AF229D
tetradic
#9DAF22 #22AF7A #3422AF #AF2256
square
#9DAF22 #22AF7A #3422AF #AF2256
split-complementary
#9DAF22 #2256AF #7A22AF
monochromatic
#41490E #6F7C18 #9DAF22 #C3D836 #D3E269

Accessibility & contrast

On white

2.45
#9DAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#9DAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF22
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF22#FFFFFF#000000##000000
##9DAF221.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9daf22;
/* rgb */ color: rgb(157, 175, 34);
/* oklch */ color: oklch(71.6% 0.156 117.1);
Tailwind
colors: {
  custom: {
    50: '#bec66b',
    500: '#9daf22',
    950: '#000000',
  },
}
SCSS
$custom: #9daf22;
$custom-light: #bec66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf22",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 67.66,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71599,
    "c": 0.15554,
    "h": 117.1
  },
  "luminance": 0.37944
}

Semantic roles & 50–950 ramp

primary
#9DAF22
secondary
#7265C8
accent
#3DEA54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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