#9DA22D#9DA22D

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

Color values

HEX#9DA22D
RGBrgb(157, 162, 45)
HSLhsl(63, 57%, 41%)
HSVhsv(63, 72%, 64%)
CMYKcmyk(3.1%, 0%, 72.2%, 36.5%)
CIE-LABlab(64.32, -16.32, 56.68)
CIE-LCHlch(64.32, 58.98, 106.06°)
OKLaboklab(68.68% -0.0506 0.1257)
OKLCHoklch(68.68% 0.135 111.9)
XYZxyz(27.2995, 33.1989, 7.4521)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA22D #322DA2
analogous
#A26C2D #9DA22D #62A22D
triadic
#9DA22D #2D9DA2 #A22D9D
tetradic
#9DA22D #2DA26C #322DA2 #A22D62
square
#9DA22D #2DA26C #322DA2 #A22D62
split-complementary
#9DA22D #2D62A2 #6C2DA2
monochromatic
#404212 #6F7220 #9DA22D #C5CA42 #D3D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA22D#FFFFFF#000000##000000
##9DA22D1.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)
#AF9A18
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#A8988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da22d;
/* rgb */ color: rgb(157, 162, 45);
/* oklch */ color: oklch(68.7% 0.135 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd6e',
    500: '#9da22d',
    950: '#000000',
  },
}
SCSS
$custom: #9da22d;
$custom-light: #bdbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9da22d",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 62.564,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68682,
    "c": 0.13545,
    "h": 111.9
  },
  "luminance": 0.33198
}

Semantic roles & 50–950 ramp

primary
#9DA22D
secondary
#6F6CBF
accent
#48E04E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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