#9DAF38#9DAF38

#9DAF38 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.7% C 0.143 H 117.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#9DAF38
RGBrgb(157, 175, 56)
HSLhsl(69, 52%, 45%)
HSVhsv(69, 68%, 69%)
CMYKcmyk(10.3%, 0%, 68%, 31.4%)
CIE-LABlab(68.10, -22.28, 56.24)
CIE-LCHlch(68.10, 60.49, 111.61°)
OKLaboklab(71.74% -0.0661 0.1266)
OKLCHoklch(71.74% 0.143 117.6)
XYZxyz(29.9490, 38.1139, 9.5196)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF38 #4A38AF
analogous
#AF8638 #9DAF38 #61AF38
triadic
#9DAF38 #389DAF #AF389D
tetradic
#9DAF38 #38AF86 #4A38AF #AF3861
square
#9DAF38 #38AF86 #4A38AF #AF3861
split-complementary
#9DAF38 #3861AF #8638AF
monochromatic
#4A521A #738129 #9DAF38 #B9CA5A #CDD988

Accessibility & contrast

On white

2.44
#9DAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#9DAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF38
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF38#FFFFFF#000000##000000
##9DAF381.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#A6A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf38;
/* rgb */ color: rgb(157, 175, 56);
/* oklch */ color: oklch(71.7% 0.143 117.6);
Tailwind
colors: {
  custom: {
    50: '#bdc675',
    500: '#9daf38',
    950: '#000000',
  },
}
SCSS
$custom: #9daf38;
$custom-light: #bdc675;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf38",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 69.076,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.14279,
    "h": 117.6
  },
  "luminance": 0.38114
}

Semantic roles & 50–950 ramp

primary
#9DAF38
secondary
#8A80C3
accent
#4DDB62
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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