#9DA937#9DA937

#9DA937 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.136 H 115.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9DA937
RGBrgb(157, 169, 55)
HSLhsl(66, 51%, 44%)
HSVhsv(66, 67%, 66%)
CMYKcmyk(7.1%, 0%, 67.5%, 33.7%)
CIE-LABlab(66.38, -19.33, 54.88)
CIE-LCHlch(66.38, 58.19, 109.40°)
OKLaboklab(70.36% -0.058 0.1236)
OKLCHoklch(70.36% 0.136 115.1)
XYZxyz(28.7829, 35.8203, 9.0115)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA937 #4337A9
analogous
#A97C37 #9DA937 #64A937
triadic
#9DA937 #379DA9 #A9379D
tetradic
#9DA937 #37A97C #4337A9 #A93764
square
#9DA937 #37A97C #4337A9 #A93764
split-complementary
#9DA937 #3764A9 #7C37A9
monochromatic
#474D19 #727B28 #9DA937 #BCC855 #CED784

Accessibility & contrast

On white

2.57
#9DA937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#9DA937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA937
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA937#FFFFFF#000000##000000
##9DA9371.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A126
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#A79F92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9da937;
/* rgb */ color: rgb(157, 169, 55);
/* oklch */ color: oklch(70.4% 0.136 115.1);
Tailwind
colors: {
  custom: {
    50: '#bdc274',
    500: '#9da937',
    950: '#000000',
  },
}
SCSS
$custom: #9da937;
$custom-light: #bdc274;
$custom-dark: #000000;
JSON
{
  "hex": "#9da937",
  "rgb": {
    "r": 157,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 66.316,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.13649,
    "h": 115.1
  },
  "luminance": 0.3582
}

Semantic roles & 50–950 ramp

primary
#9DA937
secondary
#837BC0
accent
#4DDA5C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA937

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

Preview Lab → · Contrast checker → · Palette generator →

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