#9DA229#9DA229

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

Color values

HEX#9DA229
RGBrgb(157, 162, 41)
HSLhsl(62, 60%, 40%)
HSVhsv(62, 75%, 64%)
CMYKcmyk(3.1%, 0%, 74.7%, 36.5%)
CIE-LABlab(64.30, -16.51, 58.08)
CIE-LCHlch(64.30, 60.38, 105.87°)
OKLaboklab(68.66% -0.0515 0.1279)
OKLCHoklch(68.66% 0.138 111.9)
XYZxyz(27.2261, 33.1695, 7.0655)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA229 #2E29A2
analogous
#A26A29 #9DA229 #61A229
triadic
#9DA229 #299DA2 #A2299D
tetradic
#9DA229 #29A26A #2E29A2 #A22961
square
#9DA229 #29A26A #2E29A2 #A22961
split-complementary
#9DA229 #2961A2 #6A29A2
monochromatic
#3E4010 #6E711D #9DA229 #C7CD3B #D5DA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA229#FFFFFF#000000##000000
##9DA2291.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)
#AF9A0F
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A8988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da229;
/* rgb */ color: rgb(157, 162, 41);
/* oklch */ color: oklch(68.7% 0.138 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd6c',
    500: '#9da229',
    950: '#000000',
  },
}
SCSS
$custom: #9da229;
$custom-light: #bdbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da229",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 62.479,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.13786,
    "h": 111.9
  },
  "luminance": 0.33169
}

Semantic roles & 50–950 ramp

primary
#9DA229
secondary
#6A67C0
accent
#45E34C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA229

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

Preview Lab → · Contrast checker → · Palette generator →

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