#9DAA27#9DAA27

#9DAA27 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#9DAA27
RGBrgb(157, 170, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(7.6%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.57, -20.67, 60.85)
CIE-LCHlch(66.57, 64.26, 108.76°)
OKLaboklab(70.47% -0.0632 0.1334)
OKLCHoklch(70.47% 0.148 115.3)
XYZxyz(28.6464, 36.0645, 7.3712)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA27 #3427AA
analogous
#AA7527 #9DAA27 #5BAA27
triadic
#9DAA27 #279DAA #AA279D
tetradic
#9DAA27 #27AA75 #3427AA #AA275B
square
#9DAA27 #27AA75 #3427AA #AA275B
split-complementary
#9DAA27 #275BAA #7527AA
monochromatic
#414610 #6F781C #9DAA27 #C3D23C #D3DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAA27#FFFFFF#000000##000000
##9DAA271.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)
#B6A102
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A7A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa27;
/* rgb */ color: rgb(157, 170, 39);
/* oklch */ color: oklch(70.5% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#bdc36c',
    500: '#9daa27',
    950: '#000000',
  },
}
SCSS
$custom: #9daa27;
$custom-light: #bdc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa27",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 65.954,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.14761,
    "h": 115.3
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

primary
#9DAA27
secondary
#7269C4
accent
#42E652
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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