#9DAA38#9DAA38

#9DAA38 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.137 H 115.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9DAA38
RGBrgb(157, 170, 56)
HSLhsl(67, 50%, 44%)
HSVhsv(67, 67%, 67%)
CMYKcmyk(7.6%, 0%, 67.1%, 33.3%)
CIE-LABlab(66.68, -19.77, 54.78)
CIE-LCHlch(66.68, 58.24, 109.85°)
OKLaboklab(70.59% -0.0591 0.1235)
OKLCHoklch(70.59% 0.137 115.6)
XYZxyz(28.9939, 36.2035, 9.2012)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA38 #4538AA
analogous
#AA7E38 #9DAA38 #64AA38
triadic
#9DAA38 #389DAA #AA389D
tetradic
#9DAA38 #38AA7E #4538AA #AA3864
square
#9DAA38 #38AA7E #4538AA #AA3864
split-complementary
#9DAA38 #3864AA #7E38AA
monochromatic
#484E1A #727C29 #9DAA38 #BBC857 #CED785

Accessibility & contrast

On white

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

On black

8.24
#9DAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA38
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA38#FFFFFF#000000##000000
##9DAA381.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A128
Deuteranopia (green-blind)
#B5A340
Tritanopia (blue-blind)
#A7A093
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9daa38;
/* rgb */ color: rgb(157, 170, 56);
/* oklch */ color: oklch(70.6% 0.137 115.6);
Tailwind
colors: {
  custom: {
    50: '#bdc375',
    500: '#9daa38',
    950: '#000000',
  },
}
SCSS
$custom: #9daa38;
$custom-light: #bdc375;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa38",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 66.842,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.13692,
    "h": 115.6
  },
  "luminance": 0.36203
}

Semantic roles & 50–950 ramp

primary
#9DAA38
secondary
#857DC1
accent
#4EDA5E
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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