#9DAB26#9DAB26

#9DAB26 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#9DAB26
RGBrgb(157, 171, 38)
HSLhsl(66, 64%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(8.2%, 0%, 77.8%, 32.9%)
CIE-LABlab(66.85, -21.21, 61.42)
CIE-LCHlch(66.85, 64.98, 109.05°)
OKLaboklab(70.7% -0.0647 0.1344)
OKLCHoklch(70.7% 0.149 115.7)
XYZxyz(28.8182, 36.4343, 7.3478)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB26 #3426AB
analogous
#AB7626 #9DAB26 #5AAB26
triadic
#9DAB26 #269DAB #AB269D
tetradic
#9DAB26 #26AB76 #3426AB #AB265A
square
#9DAB26 #26AB76 #3426AB #AB265A
split-complementary
#9DAB26 #265AAB #7626AB
monochromatic
#414710 #6F791B #9DAB26 #C3D33B #D3DF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAB26#FFFFFF#000000##000000
##9DAB261.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)
#B7A200
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#A7A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab26;
/* rgb */ color: rgb(157, 171, 38);
/* oklch */ color: oklch(70.7% 0.149 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec36c',
    500: '#9dab26',
    950: '#000000',
  },
}
SCSS
$custom: #9dab26;
$custom-light: #bec36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab26",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 66.316,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.14922,
    "h": 115.7
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#9DAB26
secondary
#7268C5
accent
#41E753
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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