#9DA42C#9DA42C

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

Color values

HEX#9DA42C
RGBrgb(157, 164, 44)
HSLhsl(64, 58%, 41%)
HSVhsv(64, 73%, 64%)
CMYKcmyk(4.3%, 0%, 73.2%, 35.7%)
CIE-LABlab(64.88, -17.40, 57.58)
CIE-LCHlch(64.88, 60.15, 106.81°)
OKLaboklab(69.13% -0.0536 0.1274)
OKLCHoklch(69.13% 0.138 112.8)
XYZxyz(27.6356, 33.9015, 7.4702)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA42C #332CA4
analogous
#A46F2C #9DA42C #61A42C
triadic
#9DA42C #2C9DA4 #A42C9D
tetradic
#9DA42C #2CA46F #332CA4 #A42C61
square
#9DA42C #2CA46F #332CA4 #A42C61
split-complementary
#9DA42C #2C61A4 #6F2CA4
monochromatic
#414312 #6F741F #9DA42C #C4CC41 #D3D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA42C#FFFFFF#000000##000000
##9DA42C1.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)
#B19C15
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da42c;
/* rgb */ color: rgb(157, 164, 44);
/* oklch */ color: oklch(69.1% 0.138 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6e',
    500: '#9da42c',
    950: '#000000',
  },
}
SCSS
$custom: #9da42c;
$custom-light: #bdbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9da42c",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 63.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.13823,
    "h": 112.8
  },
  "luminance": 0.33901
}

Semantic roles & 50–950 ramp

primary
#9DA42C
secondary
#706BC0
accent
#47E150
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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