#9D9E18#9D9E18

#9D9E18 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.142 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D9E18
RGBrgb(157, 158, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0.6%, 0%, 84.8%, 38%)
CIE-LABlab(63.08, -15.07, 62.00)
CIE-LCHlch(63.08, 63.80, 103.67°)
OKLaboklab(67.66% -0.0488 0.1332)
OKLCHoklch(67.66% 0.142 110.1)
XYZxyz(26.2974, 31.6886, 5.5952)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E18 #19189E
analogous
#9E5C18 #9D9E18 #5A9E18
triadic
#9D9E18 #189D9E #9E189D
tetradic
#9D9E18 #189E5C #19189E #9E185A
square
#9D9E18 #189E5C #19189E #9E185A
split-complementary
#9D9E18 #185A9E #5C189E
monochromatic
#333408 #686910 #9D9E18 #D2D320 #E3E44D

Accessibility & contrast

On white

2.86
#9D9E18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9D9E18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E18
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E18#FFFFFF#000000##000000
##9D9E181.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9A26
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e18;
/* rgb */ color: rgb(157, 158, 24);
/* oklch */ color: oklch(67.7% 0.142 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba65',
    500: '#9d9e18',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e18;
$custom-light: #beba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e18",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 60.448,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67661,
    "c": 0.14184,
    "h": 110.1
  },
  "luminance": 0.31688
}

Semantic roles & 50–950 ramp

primary
#9D9E18
secondary
#4D4CC6
accent
#38F039
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9E18

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

Preview Lab → · Contrast checker → · Palette generator →

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