#9DAB28#9DAB28

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

Color values

HEX#9DAB28
RGBrgb(157, 171, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(8.2%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.86, -21.13, 60.80)
CIE-LCHlch(66.86, 64.36, 109.16°)
OKLaboklab(70.71% -0.0643 0.1335)
OKLCHoklch(70.71% 0.148 115.7)
XYZxyz(28.8513, 36.4476, 7.5223)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB28 #3628AB
analogous
#AB7828 #9DAB28 #5CAB28
triadic
#9DAB28 #289DAB #AB289D
tetradic
#9DAB28 #28AB78 #3628AB #AB285C
square
#9DAB28 #28AB78 #3628AB #AB285C
split-complementary
#9DAB28 #285CAB #7828AB
monochromatic
#424811 #6F791C #9DAB28 #C2D23E #D2DE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAB28#FFFFFF#000000##000000
##9DAB281.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)
#B7A205
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#A7A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab28;
/* rgb */ color: rgb(157, 171, 40);
/* oklch */ color: oklch(70.7% 0.148 115.7);
Tailwind
colors: {
  custom: {
    50: '#bdc36d',
    500: '#9dab28',
    950: '#000000',
  },
}
SCSS
$custom: #9dab28;
$custom-light: #bdc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab28",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 66.412,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.14818,
    "h": 115.7
  },
  "luminance": 0.36447
}

Semantic roles & 50–950 ramp

primary
#9DAB28
secondary
#746AC4
accent
#43E554
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9DAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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