#9DA340#9DA340

#9DA340 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.122 H 112.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9DA340
RGBrgb(157, 163, 64)
HSLhsl(64, 44%, 45%)
HSVhsv(64, 61%, 64%)
CMYKcmyk(3.7%, 0%, 60.7%, 36.1%)
CIE-LABlab(64.75, -15.65, 49.32)
CIE-LCHlch(64.75, 51.75, 107.61°)
OKLaboklab(69.07% -0.0467 0.1132)
OKLCHoklch(69.07% 0.122 112.4)
XYZxyz(27.9279, 33.7332, 9.8895)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA340 #4640A3
analogous
#A37740 #9DA340 #6CA340
triadic
#9DA340 #409DA3 #A3409D
tetradic
#9DA340 #40A377 #4640A3 #A3406C
square
#9DA340 #40A377 #4640A3 #A3406C
split-complementary
#9DA340 #406CA3 #7740A3
monochromatic
#484B1D #73772F #9DA340 #BBC060 #CDD28C

Accessibility & contrast

On white

2.71
#9DA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9DA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA340
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA340#FFFFFF#000000##000000
##9DA3401.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#AF9E46
Tritanopia (blue-blind)
#A79A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da340;
/* rgb */ color: rgb(157, 163, 64);
/* oklch */ color: oklch(69.1% 0.122 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe79',
    500: '#9da340',
    950: '#000000',
  },
}
SCSS
$custom: #9da340;
$custom-light: #bcbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#9da340",
  "rgb": {
    "r": 157,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 63.636,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69072,
    "c": 0.12241,
    "h": 112.4
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#9DA340
secondary
#8682BD
accent
#54D35C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA340

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

Preview Lab → · Contrast checker → · Palette generator →

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