#9DAC3E#9DAC3E

#9DAC3E is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.135 H 116.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9DAC3E
RGBrgb(157, 172, 62)
HSLhsl(68, 47%, 46%)
HSVhsv(68, 64%, 67%)
CMYKcmyk(8.7%, 0%, 64%, 32.5%)
CIE-LABlab(67.29, -20.39, 52.93)
CIE-LCHlch(67.29, 56.72, 111.06°)
OKLaboklab(71.1% -0.0602 0.1205)
OKLCHoklch(71.1% 0.135 116.5)
XYZxyz(29.5273, 37.0213, 10.1468)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC3E #4D3EAC
analogous
#AC843E #9DAC3E #66AC3E
triadic
#9DAC3E #3E9DAC #AC3E9D
tetradic
#9DAC3E #3EAC84 #4D3EAC #AC3E66
square
#9DAC3E #3EAC84 #4D3EAC #AC3E66
split-complementary
#9DAC3E #3E66AC #843EAC
monochromatic
#4B521E #747F2E #9DAC3E #B8C661 #CCD68E

Accessibility & contrast

On white

2.50
#9DAC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9DAC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC3E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC3E#FFFFFF#000000##000000
##9DAC3E1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A330
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#A6A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dac3e;
/* rgb */ color: rgb(157, 172, 62);
/* oklch */ color: oklch(71.1% 0.135 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc479',
    500: '#9dac3e',
    950: '#000000',
  },
}
SCSS
$custom: #9dac3e;
$custom-light: #bdc479;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac3e",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 68.182,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.13472,
    "h": 116.5
  },
  "luminance": 0.37021
}

Semantic roles & 50–950 ramp

primary
#9DAC3E
secondary
#8D85C1
accent
#51D763
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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