#9DA42F#9DA42F

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

Color values

HEX#9DA42F
RGBrgb(157, 164, 47)
HSLhsl(64, 55%, 41%)
HSVhsv(64, 71%, 64%)
CMYKcmyk(4.3%, 0%, 71.3%, 35.7%)
CIE-LABlab(64.90, -17.24, 56.50)
CIE-LCHlch(64.90, 59.08, 106.97°)
OKLaboklab(69.15% -0.0529 0.1256)
OKLCHoklch(69.15% 0.136 112.8)
XYZxyz(27.6940, 33.9249, 7.7781)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA42F #362FA4
analogous
#A4712F #9DA42F #63A42F
triadic
#9DA42F #2F9DA4 #A42F9D
tetradic
#9DA42F #2FA471 #362FA4 #A42F63
square
#9DA42F #2FA471 #362FA4 #A42F63
split-complementary
#9DA42F #2F63A4 #712FA4
monochromatic
#424514 #6F7421 #9DA42F #C2CA46 #D2D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA42F#FFFFFF#000000##000000
##9DA42F1.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)
#B09C1B
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da42f;
/* rgb */ color: rgb(157, 164, 47);
/* oklch */ color: oklch(69.2% 0.136 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe70',
    500: '#9da42f',
    950: '#000000',
  },
}
SCSS
$custom: #9da42f;
$custom-light: #bdbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9da42f",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 63.59,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69152,
    "c": 0.13634,
    "h": 112.8
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#9DA42F
secondary
#746FC0
accent
#49DF52
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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