#9DA118#9DA118

#9DA118 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.145 H 111.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9DA118
RGBrgb(157, 161, 24)
HSLhsl(62, 74%, 36%)
HSVhsv(62, 85%, 63%)
CMYKcmyk(2.5%, 0%, 85.1%, 36.9%)
CIE-LABlab(63.94, -16.62, 62.71)
CIE-LCHlch(63.94, 64.88, 104.85°)
OKLaboklab(68.34% -0.0531 0.1347)
OKLCHoklch(68.34% 0.145 111.5)
XYZxyz(26.8154, 32.7245, 5.7679)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA118 #1C18A1
analogous
#A16118 #9DA118 #59A118
triadic
#9DA118 #189DA1 #A1189D
tetradic
#9DA118 #18A161 #1C18A1 #A11859
square
#9DA118 #18A161 #1C18A1 #A11859
split-complementary
#9DA118 #1859A1 #6118A1
monochromatic
#353608 #696C10 #9DA118 #D1D620 #E0E54F

Accessibility & contrast

On white

2.78
#9DA118 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9DA118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA118
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA118#FFFFFF#000000##000000
##9DA1181.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C27
Tritanopia (blue-blind)
#A99689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da118;
/* rgb */ color: rgb(157, 161, 24);
/* oklch */ color: oklch(68.3% 0.145 111.5);
Tailwind
colors: {
  custom: {
    50: '#bebc65',
    500: '#9da118',
    950: '#000000',
  },
}
SCSS
$custom: #9da118;
$custom-light: #bebc65;
$custom-dark: #000000;
JSON
{
  "hex": "#9da118",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 61.752,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.68343,
    "c": 0.14482,
    "h": 111.5
  },
  "luminance": 0.32724
}

Semantic roles & 50–950 ramp

primary
#9DA118
secondary
#514EC7
accent
#37F13D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9DA118

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

Preview Lab → · Contrast checker → · Palette generator →

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