#9DAA1B#9DAA1B

#9DAA1B is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.153 H 115.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9DAA1B
RGBrgb(157, 170, 27)
HSLhsl(65, 73%, 39%)
HSVhsv(65, 84%, 67%)
CMYKcmyk(7.6%, 0%, 84.1%, 33.3%)
CIE-LABlab(66.52, -21.10, 64.17)
CIE-LCHlch(66.52, 67.55, 108.21°)
OKLaboklab(70.42% -0.0652 0.1384)
OKLCHoklch(70.42% 0.153 115.2)
XYZxyz(28.4781, 35.9972, 6.4847)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA1B #281BAA
analogous
#AA6F1B #9DAA1B #55AA1B
triadic
#9DAA1B #1B9DAA #AA1B9D
tetradic
#9DAA1B #1BAA6F #281BAA #AA1B55
square
#9DAA1B #1BAA6F #281BAA #AA1B55
split-complementary
#9DAA1B #1B55AA #6F1BAA
monochromatic
#3B400A #6C7513 #9DAA1B #CCDC26 #D8E55B

Accessibility & contrast

On white

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

On black

8.20
#9DAA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA1B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA1B#FFFFFF#000000##000000
##9DAA1B1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32B
Tritanopia (blue-blind)
#A8A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa1b;
/* rgb */ color: rgb(157, 170, 27);
/* oklch */ color: oklch(70.4% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#bec368',
    500: '#9daa1b',
    950: '#000000',
  },
}
SCSS
$custom: #9daa1b;
$custom-light: #bec368;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa1b",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 65.455,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70415,
    "c": 0.15301,
    "h": 115.2
  },
  "luminance": 0.35997
}

Semantic roles & 50–950 ramp

primary
#9DAA1B
secondary
#6258C9
accent
#39EF49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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