#9DA840#9DA840

#9DA840 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.128 H 114.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9DA840
RGBrgb(157, 168, 64)
HSLhsl(66, 45%, 45%)
HSVhsv(66, 62%, 66%)
CMYKcmyk(6.5%, 0%, 61.9%, 34.1%)
CIE-LABlab(66.17, -18.22, 50.87)
CIE-LCHlch(66.17, 54.03, 109.71°)
OKLaboklab(70.21% -0.0539 0.1164)
OKLCHoklch(70.21% 0.128 114.9)
XYZxyz(28.8333, 35.5440, 10.1913)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA840 #4B40A8
analogous
#A87F40 #9DA840 #69A840
triadic
#9DA840 #409DA8 #A8409D
tetradic
#9DA840 #40A87F #4B40A8 #A84069
square
#9DA840 #40A87F #4B40A8 #A84069
split-complementary
#9DA840 #4069A8 #7F40A8
monochromatic
#4A4F1E #747C2F #9DA840 #B9C362 #CDD48E

Accessibility & contrast

On white

2.59
#9DA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9DA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA840
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA840#FFFFFF#000000##000000
##9DA8401.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da840;
/* rgb */ color: rgb(157, 168, 64);
/* oklch */ color: oklch(70.2% 0.128 114.9);
Tailwind
colors: {
  custom: {
    50: '#bcc179',
    500: '#9da840',
    950: '#000000',
  },
}
SCSS
$custom: #9da840;
$custom-light: #bcc179;
$custom-dark: #000000;
JSON
{
  "hex": "#9da840",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 66.346,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.1283,
    "h": 114.9
  },
  "luminance": 0.35544
}

Semantic roles & 50–950 ramp

primary
#9DA840
secondary
#8B85BF
accent
#53D561
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA840

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

Preview Lab → · Contrast checker → · Palette generator →

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