#9DA42B#9DA42B

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

Color values

HEX#9DA42B
RGBrgb(157, 164, 43)
HSLhsl(63, 58%, 41%)
HSVhsv(63, 74%, 64%)
CMYKcmyk(4.3%, 0%, 73.8%, 35.7%)
CIE-LABlab(64.88, -17.45, 57.93)
CIE-LCHlch(64.88, 60.50, 106.76°)
OKLaboklab(69.12% -0.0539 0.1279)
OKLCHoklch(69.12% 0.139 112.8)
XYZxyz(27.6170, 33.8941, 7.3724)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA42B #322BA4
analogous
#A46E2B #9DA42B #60A42B
triadic
#9DA42B #2B9DA4 #A42B9D
tetradic
#9DA42B #2BA46E #322BA4 #A42B60
square
#9DA42B #2BA46E #322BA4 #A42B60
split-complementary
#9DA42B #2B60A4 #6E2BA4
monochromatic
#404312 #6F741E #9DA42B #C5CD3F #D3D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA42B#FFFFFF#000000##000000
##9DA42B1.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)
#B19C12
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da42b;
/* rgb */ color: rgb(157, 164, 43);
/* oklch */ color: oklch(69.1% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6e',
    500: '#9da42b',
    950: '#000000',
  },
}
SCSS
$custom: #9da42b;
$custom-light: #bdbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9da42b",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 63.471,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69124,
    "c": 0.13882,
    "h": 112.8
  },
  "luminance": 0.33893
}

Semantic roles & 50–950 ramp

primary
#9DA42B
secondary
#6F6AC1
accent
#46E24F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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