#9DA42E#9DA42E

#9DA42E is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.137 H 112.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9DA42E
RGBrgb(157, 164, 46)
HSLhsl(64, 56%, 41%)
HSVhsv(64, 72%, 64%)
CMYKcmyk(4.3%, 0%, 72%, 35.7%)
CIE-LABlab(64.90, -17.30, 56.87)
CIE-LCHlch(64.90, 59.44, 106.92°)
OKLaboklab(69.15% -0.0532 0.1262)
OKLCHoklch(69.15% 0.137 112.8)
XYZxyz(27.6741, 33.9169, 7.6730)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA42E #352EA4
analogous
#A4702E #9DA42E #62A42E
triadic
#9DA42E #2E9DA4 #A42E9D
tetradic
#9DA42E #2EA470 #352EA4 #A42E62
square
#9DA42E #2EA470 #352EA4 #A42E62
split-complementary
#9DA42E #2E62A4 #702EA4
monochromatic
#414413 #6F7421 #9DA42E #C3CB45 #D2D874

Accessibility & contrast

On white

2.70
#9DA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#9DA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA42E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA42E#FFFFFF#000000##000000
##9DA42E1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da42e;
/* rgb */ color: rgb(157, 164, 46);
/* oklch */ color: oklch(69.1% 0.137 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6f',
    500: '#9da42e',
    950: '#000000',
  },
}
SCSS
$custom: #9da42e;
$custom-light: #bdbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9da42e",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 63.559,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69145,
    "c": 0.13697,
    "h": 112.8
  },
  "luminance": 0.33916
}

Semantic roles & 50–950 ramp

primary
#9DA42E
secondary
#736EC0
accent
#48DF51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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