#9DA223#9DA223

#9DA223 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.141 H 111.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9DA223
RGBrgb(157, 162, 35)
HSLhsl(62, 64%, 39%)
HSVhsv(62, 78%, 64%)
CMYKcmyk(3.1%, 0%, 78.4%, 36.5%)
CIE-LABlab(64.27, -16.77, 60.00)
CIE-LCHlch(64.27, 62.30, 105.61°)
OKLaboklab(68.62% -0.0527 0.1309)
OKLCHoklch(68.62% 0.141 111.9)
XYZxyz(27.1293, 33.1308, 6.5556)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA223 #2823A2
analogous
#A26723 #9DA223 #5DA223
triadic
#9DA223 #239DA2 #A2239D
tetradic
#9DA223 #23A267 #2823A2 #A2235D
square
#9DA223 #23A267 #2823A2 #A2235D
split-complementary
#9DA223 #235DA2 #6723A2
monochromatic
#3B3D0D #6C7018 #9DA223 #CCD230 #D8DD62

Accessibility & contrast

On white

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

On black

7.63
#9DA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA223
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA223#FFFFFF#000000##000000
##9DA2231.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da223;
/* rgb */ color: rgb(157, 162, 35);
/* oklch */ color: oklch(68.6% 0.141 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebd6a',
    500: '#9da223',
    950: '#000000',
  },
}
SCSS
$custom: #9da223;
$custom-light: #bebd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da223",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 62.362,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68621,
    "c": 0.14109,
    "h": 111.9
  },
  "luminance": 0.3313
}

Semantic roles & 50–950 ramp

primary
#9DA223
secondary
#625EC2
accent
#40E747
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA223

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

Preview Lab → · Contrast checker → · Palette generator →

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