#9DA11B#9DA11B

#9DA11B is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.144 H 111.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9DA11B
RGBrgb(157, 161, 27)
HSLhsl(62, 71%, 37%)
HSVhsv(62, 83%, 63%)
CMYKcmyk(2.5%, 0%, 83.2%, 36.9%)
CIE-LABlab(63.95, -16.54, 61.98)
CIE-LCHlch(63.95, 64.15, 104.94°)
OKLaboklab(68.36% -0.0526 0.1337)
OKLCHoklch(68.36% 0.144 111.5)
XYZxyz(26.8483, 32.7377, 5.9414)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA11B #1F1BA1
analogous
#A1621B #9DA11B #5AA11B
triadic
#9DA11B #1B9DA1 #A11B9D
tetradic
#9DA11B #1BA162 #1F1BA1 #A11B5A
square
#9DA11B #1BA162 #1F1BA1 #A11B5A
split-complementary
#9DA11B #1B5AA1 #621BA1
monochromatic
#373809 #6A6D12 #9DA11B #D0D524 #DEE254

Accessibility & contrast

On white

2.78
#9DA11B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9DA11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA11B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA11B#FFFFFF#000000##000000
##9DA11B1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C29
Tritanopia (blue-blind)
#A89689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da11b;
/* rgb */ color: rgb(157, 161, 27);
/* oklch */ color: oklch(68.4% 0.144 111.5);
Tailwind
colors: {
  custom: {
    50: '#bebc66',
    500: '#9da11b',
    950: '#000000',
  },
}
SCSS
$custom: #9da11b;
$custom-light: #bebc66;
$custom-dark: #000000;
JSON
{
  "hex": "#9da11b",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 61.791,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.14367,
    "h": 111.5
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

primary
#9DA11B
secondary
#5652C5
accent
#3AEE3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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