#9DAB27#9DAB27

#9DAB27 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.149 H 115.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#9DAB27
RGBrgb(157, 171, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(8.2%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.86, -21.17, 61.11)
CIE-LCHlch(66.86, 64.67, 109.11°)
OKLaboklab(70.7% -0.0645 0.134)
OKLCHoklch(70.7% 0.149 115.7)
XYZxyz(28.8345, 36.4409, 7.4339)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB27 #3527AB
analogous
#AB7727 #9DAB27 #5BAB27
triadic
#9DAB27 #279DAB #AB279D
tetradic
#9DAB27 #27AB77 #3527AB #AB275B
square
#9DAB27 #27AB77 #3527AB #AB275B
split-complementary
#9DAB27 #275BAB #7727AB
monochromatic
#414710 #6F791C #9DAB27 #C3D33D #D2DE6E

Accessibility & contrast

On white

2.53
#9DAB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#9DAB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB27
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB27#FFFFFF#000000##000000
##9DAB271.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A201
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#A7A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab27;
/* rgb */ color: rgb(157, 171, 39);
/* oklch */ color: oklch(70.7% 0.149 115.7);
Tailwind
colors: {
  custom: {
    50: '#bdc36d',
    500: '#9dab27',
    950: '#000000',
  },
}
SCSS
$custom: #9dab27;
$custom-light: #bdc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab27",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 66.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70703,
    "c": 0.14871,
    "h": 115.7
  },
  "luminance": 0.3644
}

Semantic roles & 50–950 ramp

primary
#9DAB27
secondary
#7369C5
accent
#42E653
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9DAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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