#9DAA26#9DAA26

#9DAA26 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.148 H 115.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9DAA26
RGBrgb(157, 170, 38)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(7.6%, 0%, 77.6%, 33.3%)
CIE-LABlab(66.56, -20.71, 61.16)
CIE-LCHlch(66.56, 64.57, 108.71°)
OKLaboklab(70.47% -0.0634 0.1339)
OKLCHoklch(70.47% 0.148 115.3)
XYZxyz(28.6300, 36.0580, 7.2850)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA26 #3326AA
analogous
#AA7526 #9DAA26 #5BAA26
triadic
#9DAA26 #269DAA #AA269D
tetradic
#9DAA26 #26AA75 #3326AA #AA265B
square
#9DAA26 #26AA75 #3326AA #AA265B
split-complementary
#9DAA26 #265BAA #7526AA
monochromatic
#414610 #6F781B #9DAA26 #C4D33A #D3DE6C

Accessibility & contrast

On white

2.56
#9DAA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9DAA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA26
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA26#FFFFFF#000000##000000
##9DAA261.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa26;
/* rgb */ color: rgb(157, 170, 38);
/* oklch */ color: oklch(70.5% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec36c',
    500: '#9daa26',
    950: '#000000',
  },
}
SCSS
$custom: #9daa26;
$custom-light: #bec36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa26",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 65.909,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.14813,
    "h": 115.3
  },
  "luminance": 0.36057
}

Semantic roles & 50–950 ramp

primary
#9DAA26
secondary
#7067C5
accent
#41E652
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAA26

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

Preview Lab → · Contrast checker → · Palette generator →

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