#9DA02B#9DA02B

#9DA02B is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.135 H 111.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9DA02B
RGBrgb(157, 160, 43)
HSLhsl(62, 58%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(1.9%, 0%, 73.1%, 37.3%)
CIE-LABlab(63.74, -15.39, 56.84)
CIE-LCHlch(63.74, 58.89, 105.14°)
OKLaboklab(68.22% -0.0481 0.1257)
OKLCHoklch(68.22% 0.135 111)
XYZxyz(26.9124, 32.4848, 7.1376)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA02B #2E2BA0
analogous
#A0682B #9DA02B #63A02B
triadic
#9DA02B #2B9DA0 #A02B9D
tetradic
#9DA02B #2BA068 #2E2BA0 #A02B63
square
#9DA02B #2BA068 #2E2BA0 #A02B63
split-complementary
#9DA02B #2B63A0 #682BA0
monochromatic
#3E4011 #6E701E #9DA02B #C7CB3D #D5D86E

Accessibility & contrast

On white

2.80
#9DA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9DA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA02B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA02B#FFFFFF#000000##000000
##9DA02B1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9914
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#A89689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da02b;
/* rgb */ color: rgb(157, 160, 43);
/* oklch */ color: oklch(68.2% 0.135 111.0);
Tailwind
colors: {
  custom: {
    50: '#bdbb6d',
    500: '#9da02b',
    950: '#000000',
  },
}
SCSS
$custom: #9da02b;
$custom-light: #bdbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da02b",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 61.538,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.13456,
    "h": 111
  },
  "luminance": 0.32484
}

Semantic roles & 50–950 ramp

primary
#9DA02B
secondary
#6A68BF
accent
#47E14B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9DA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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