#9DA22B#9DA22B

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

Color values

HEX#9DA22B
RGBrgb(157, 162, 43)
HSLhsl(63, 58%, 40%)
HSVhsv(63, 73%, 64%)
CMYKcmyk(3.1%, 0%, 73.5%, 36.5%)
CIE-LABlab(64.31, -16.42, 57.39)
CIE-LCHlch(64.31, 59.69, 105.97°)
OKLaboklab(68.67% -0.051 0.1268)
OKLCHoklch(68.67% 0.137 111.9)
XYZxyz(27.2619, 33.1838, 7.2541)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA22B #302BA2
analogous
#A26B2B #9DA22B #61A22B
triadic
#9DA22B #2B9DA2 #A22B9D
tetradic
#9DA22B #2BA26B #302BA2 #A22B61
square
#9DA22B #2BA26B #302BA2 #A22B61
split-complementary
#9DA22B #2B61A2 #6B2BA2
monochromatic
#3F4111 #6E721E #9DA22B #C6CC3E #D4D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA22B#FFFFFF#000000##000000
##9DA22B1.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)
#AF9A13
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A8988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da22b;
/* rgb */ color: rgb(157, 162, 43);
/* oklch */ color: oklch(68.7% 0.137 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd6d',
    500: '#9da22b',
    950: '#000000',
  },
}
SCSS
$custom: #9da22b;
$custom-light: #bdbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da22b",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 62.521,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68669,
    "c": 0.13668,
    "h": 111.9
  },
  "luminance": 0.33183
}

Semantic roles & 50–950 ramp

primary
#9DA22B
secondary
#6D69C0
accent
#47E14D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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