#9DAF30#9DAF30

#9DAF30 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.148 H 117.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#9DAF30
RGBrgb(157, 175, 48)
HSLhsl(69, 57%, 44%)
HSVhsv(69, 73%, 69%)
CMYKcmyk(10.3%, 0%, 72.6%, 31.4%)
CIE-LABlab(68.05, -22.73, 59.20)
CIE-LCHlch(68.05, 63.42, 111.01°)
OKLaboklab(71.68% -0.0681 0.1315)
OKLCHoklch(71.68% 0.148 117.4)
XYZxyz(29.7688, 38.0418, 8.5703)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF30 #4230AF
analogous
#AF8130 #9DAF30 #5DAF30
triadic
#9DAF30 #309DAF #AF309D
tetradic
#9DAF30 #30AF81 #4230AF #AF305D
square
#9DAF30 #30AF81 #4230AF #AF305D
split-complementary
#9DAF30 #305DAF #8130AF
monochromatic
#474F16 #727F23 #9DAF30 #BCCE4E #CEDC7E

Accessibility & contrast

On white

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

On black

8.61
#9DAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF30
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF30#FFFFFF#000000##000000
##9DAF301.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA518
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf30;
/* rgb */ color: rgb(157, 175, 48);
/* oklch */ color: oklch(71.7% 0.148 117.4);
Tailwind
colors: {
  custom: {
    50: '#bdc671',
    500: '#9daf30',
    950: '#000000',
  },
}
SCSS
$custom: #9daf30;
$custom-light: #bdc671;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf30",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 68.504,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.14809,
    "h": 117.4
  },
  "luminance": 0.38041
}

Semantic roles & 50–950 ramp

primary
#9DAF30
secondary
#8276C4
accent
#48E05D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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