#9DA72B#9DA72B

#9DA72B is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.8% C 0.142 H 114.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9DA72B
RGBrgb(157, 167, 43)
HSLhsl(65, 59%, 41%)
HSVhsv(65, 74%, 65%)
CMYKcmyk(6%, 0%, 74.3%, 34.5%)
CIE-LABlab(65.73, -18.97, 58.74)
CIE-LCHlch(65.73, 61.73, 107.90°)
OKLaboklab(69.81% -0.0581 0.1297)
OKLCHoklch(69.81% 0.142 114.1)
XYZxyz(28.1602, 34.9805, 7.5535)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA72B #352BA7
analogous
#A7732B #9DA72B #5FA72B
triadic
#9DA72B #2B9DA7 #A72B9D
tetradic
#9DA72B #2BA773 #352BA7 #A72B5F
square
#9DA72B #2BA773 #352BA7 #A72B5F
split-complementary
#9DA72B #2B5FA7 #732BA7
monochromatic
#414612 #6F761E #9DA72B #C3CE41 #D2DB72

Accessibility & contrast

On white

2.63
#9DA72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9DA72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA72B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA72B#FFFFFF#000000##000000
##9DA72B1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F11
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#A89D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da72b;
/* rgb */ color: rgb(157, 167, 43);
/* oklch */ color: oklch(69.8% 0.142 114.1);
Tailwind
colors: {
  custom: {
    50: '#bdc16e',
    500: '#9da72b',
    950: '#000000',
  },
}
SCSS
$custom: #9da72b;
$custom-light: #bdc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9da72b",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 64.839,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.14209,
    "h": 114.1
  },
  "luminance": 0.3498
}

Semantic roles & 50–950 ramp

primary
#9DA72B
secondary
#736CC2
accent
#46E252
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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