#9DA640#9DA640

#9DA640 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.126 H 113.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9DA640
RGBrgb(157, 166, 64)
HSLhsl(65, 44%, 45%)
HSVhsv(65, 61%, 65%)
CMYKcmyk(5.4%, 0%, 61.4%, 34.9%)
CIE-LABlab(65.60, -17.20, 50.25)
CIE-LCHlch(65.60, 53.11, 108.89°)
OKLaboklab(69.75% -0.0511 0.1151)
OKLCHoklch(69.75% 0.126 113.9)
XYZxyz(28.4669, 34.8112, 10.0691)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA640 #4940A6
analogous
#A67C40 #9DA640 #6AA640
triadic
#9DA640 #409DA6 #A6409D
tetradic
#9DA640 #40A67C #4940A6 #A6406A
square
#9DA640 #40A67C #4940A6 #A6406A
split-complementary
#9DA640 #406AA6 #7C40A6
monochromatic
#494E1E #737A2F #9DA640 #BAC261 #CDD38D

Accessibility & contrast

On white

2.64
#9DA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9DA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA640
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA640#FFFFFF#000000##000000
##9DA6401.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B1A046
Tritanopia (blue-blind)
#A79D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9da640;
/* rgb */ color: rgb(157, 166, 64);
/* oklch */ color: oklch(69.8% 0.126 113.9);
Tailwind
colors: {
  custom: {
    50: '#bcc079',
    500: '#9da640',
    950: '#000000',
  },
}
SCSS
$custom: #9da640;
$custom-light: #bcc079;
$custom-dark: #000000;
JSON
{
  "hex": "#9da640",
  "rgb": {
    "r": 157,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 65.294,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69752,
    "c": 0.12594,
    "h": 113.9
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#9DA640
secondary
#8984BE
accent
#54D45F
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA640

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

Preview Lab → · Contrast checker → · Palette generator →

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