#9DAA2C#9DAA2C

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

Color values

HEX#9DAA2C
RGBrgb(157, 170, 44)
HSLhsl(66, 59%, 42%)
HSVhsv(66, 74%, 67%)
CMYKcmyk(7.6%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.60, -20.44, 59.21)
CIE-LCHlch(66.60, 62.64, 109.04°)
OKLaboklab(70.5% -0.0621 0.1308)
OKLCHoklch(70.5% 0.145 115.4)
XYZxyz(28.7348, 36.0999, 7.8366)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA2C #392CAA
analogous
#AA782C #9DAA2C #5EAA2C
triadic
#9DAA2C #2C9DAA #AA2C9D
tetradic
#9DAA2C #2CAA78 #392CAA #AA2C5E
square
#9DAA2C #2CAA78 #392CAA #AA2C5E
split-complementary
#9DAA2C #2C5EAA #782CAA
monochromatic
#434913 #70791F #9DAA2C #C0CF44 #D1DB75

Accessibility & contrast

On white

2.55
#9DAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9DAA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA2C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA2C#FFFFFF#000000##000000
##9DAA2C1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A112
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#A7A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa2c;
/* rgb */ color: rgb(157, 170, 44);
/* oklch */ color: oklch(70.5% 0.145 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc36f',
    500: '#9daa2c',
    950: '#000000',
  },
}
SCSS
$custom: #9daa2c;
$custom-light: #bdc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa2c",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 66.19,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70503,
    "c": 0.14483,
    "h": 115.4
  },
  "luminance": 0.36099
}

Semantic roles & 50–950 ramp

primary
#9DAA2C
secondary
#786FC3
accent
#46E256
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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