#9D9F18#9D9F18

#9D9F18 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.143 H 110.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9D9F18
RGBrgb(157, 159, 24)
HSLhsl(61, 74%, 36%)
HSVhsv(61, 85%, 62%)
CMYKcmyk(1.3%, 0%, 84.9%, 37.6%)
CIE-LABlab(63.37, -15.59, 62.23)
CIE-LCHlch(63.37, 64.16, 104.07°)
OKLaboklab(67.89% -0.0502 0.1337)
OKLCHoklch(67.89% 0.143 110.6)
XYZxyz(26.4687, 32.0311, 5.6523)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F18 #1A189F
analogous
#9F5D18 #9D9F18 #599F18
triadic
#9D9F18 #189D9F #9F189D
tetradic
#9D9F18 #189F5D #1A189F #9F1859
square
#9D9F18 #189F5D #1A189F #9F1859
split-complementary
#9D9F18 #18599F #5D189F
monochromatic
#343508 #686A10 #9D9F18 #D2D420 #E2E44D

Accessibility & contrast

On white

2.84
#9D9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#9D9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F18
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F18#FFFFFF#000000##000000
##9D9F181.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#A99487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9f18;
/* rgb */ color: rgb(157, 159, 24);
/* oklch */ color: oklch(67.9% 0.143 110.6);
Tailwind
colors: {
  custom: {
    50: '#bebb65',
    500: '#9d9f18',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f18;
$custom-light: #bebb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f18",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 60.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.14283,
    "h": 110.6
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#9D9F18
secondary
#4E4DC6
accent
#37F03A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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