#9DA240#9DA240

#9DA240 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.121 H 111.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9DA240
RGBrgb(157, 162, 64)
HSLhsl(63, 43%, 44%)
HSVhsv(63, 60%, 64%)
CMYKcmyk(3.1%, 0%, 60.5%, 36.5%)
CIE-LABlab(64.47, -15.14, 49.01)
CIE-LCHlch(64.47, 51.30, 107.16°)
OKLaboklab(68.85% -0.0452 0.1125)
OKLCHoklch(68.85% 0.121 111.9)
XYZxyz(27.7511, 33.3795, 9.8305)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA240 #4540A2
analogous
#A27640 #9DA240 #6CA240
triadic
#9DA240 #409DA2 #A2409D
tetradic
#9DA240 #40A276 #4540A2 #A2406C
square
#9DA240 #40A276 #4540A2 #A2406C
split-complementary
#9DA240 #406CA2 #7640A2
monochromatic
#484A1D #72762F #9DA240 #BBC05F #CED18B

Accessibility & contrast

On white

2.74
#9DA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9DA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA240
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA240#FFFFFF#000000##000000
##9DA2401.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#AE9E46
Tritanopia (blue-blind)
#A7998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da240;
/* rgb */ color: rgb(157, 162, 64);
/* oklch */ color: oklch(68.8% 0.121 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd79',
    500: '#9da240',
    950: '#000000',
  },
}
SCSS
$custom: #9da240;
$custom-light: #bcbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#9da240",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 63.061,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68845,
    "c": 0.12126,
    "h": 111.9
  },
  "luminance": 0.33379
}

Semantic roles & 50–950 ramp

primary
#9DA240
secondary
#8582BC
accent
#55D35B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA240

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

Preview Lab → · Contrast checker → · Palette generator →

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