#9DA22F#9DA22F

#9DA22F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.134 H 111.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9DA22F
RGBrgb(157, 162, 47)
HSLhsl(63, 55%, 41%)
HSVhsv(63, 71%, 64%)
CMYKcmyk(3.1%, 0%, 71%, 36.5%)
CIE-LABlab(64.33, -16.22, 55.95)
CIE-LCHlch(64.33, 58.25, 106.16°)
OKLaboklab(68.7% -0.0501 0.1245)
OKLCHoklch(68.7% 0.134 111.9)
XYZxyz(27.3389, 33.2147, 7.6597)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA22F #342FA2
analogous
#A26D2F #9DA22F #63A22F
triadic
#9DA22F #2F9DA2 #A22F9D
tetradic
#9DA22F #2FA26D #342FA2 #A22F63
square
#9DA22F #2FA26D #342FA2 #A22F63
split-complementary
#9DA22F #2F63A2 #6D2FA2
monochromatic
#414313 #6F7321 #9DA22F #C3C945 #D3D775

Accessibility & contrast

On white

2.75
#9DA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#9DA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA22F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA22F#FFFFFF#000000##000000
##9DA22F1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1B
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#A8988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da22f;
/* rgb */ color: rgb(157, 162, 47);
/* oklch */ color: oklch(68.7% 0.134 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd6f',
    500: '#9da22f',
    950: '#000000',
  },
}
SCSS
$custom: #9da22f;
$custom-light: #bdbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9da22f",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 62.609,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68697,
    "c": 0.13416,
    "h": 111.9
  },
  "luminance": 0.33214
}

Semantic roles & 50–950 ramp

primary
#9DA22F
secondary
#726EBF
accent
#49DE50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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