#9DAC38#9DAC38

#9DAC38 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.0% C 0.139 H 116.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9DAC38
RGBrgb(157, 172, 56)
HSLhsl(68, 51%, 45%)
HSVhsv(68, 67%, 67%)
CMYKcmyk(8.7%, 0%, 67.4%, 32.5%)
CIE-LABlab(67.25, -20.78, 55.36)
CIE-LCHlch(67.25, 59.14, 110.57°)
OKLaboklab(71.05% -0.0619 0.1247)
OKLCHoklch(71.05% 0.139 116.4)
XYZxyz(29.3716, 36.9591, 9.3271)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC38 #4738AC
analogous
#AC8138 #9DAC38 #63AC38
triadic
#9DAC38 #389DAC #AC389D
tetradic
#9DAC38 #38AC81 #4738AC #AC3863
square
#9DAC38 #38AC81 #4738AC #AC3863
split-complementary
#9DAC38 #3863AC #8138AC
monochromatic
#49501A #737E29 #9DAC38 #BAC958 #CDD887

Accessibility & contrast

On white

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

On black

8.39
#9DAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC38
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC38#FFFFFF#000000##000000
##9DAC381.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A327
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#A7A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dac38;
/* rgb */ color: rgb(157, 172, 56);
/* oklch */ color: oklch(71.0% 0.139 116.4);
Tailwind
colors: {
  custom: {
    50: '#bdc475',
    500: '#9dac38',
    950: '#000000',
  },
}
SCSS
$custom: #9dac38;
$custom-light: #bdc475;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac38",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 67.759,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7105,
    "c": 0.13925,
    "h": 116.4
  },
  "luminance": 0.36959
}

Semantic roles & 50–950 ramp

primary
#9DAC38
secondary
#877EC2
accent
#4DDA60
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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