#949D17#949D17

#949D17 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.144 H 113.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#949D17
RGBrgb(148, 157, 23)
HSLhsl(64, 74%, 35%)
HSVhsv(64, 85%, 62%)
CMYKcmyk(5.7%, 0%, 85.4%, 38.4%)
CIE-LABlab(62.06, -18.58, 61.08)
CIE-LCHlch(62.06, 63.84, 106.92°)
OKLaboklab(66.66% -0.0581 0.1314)
OKLCHoklch(66.66% 0.144 113.9)
XYZxyz(24.4252, 30.4722, 5.4055)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D17 #20179D
analogous
#9D6317 #949D17 #519D17
triadic
#949D17 #17949D #9D1794
tetradic
#949D17 #179D63 #20179D #9D1751
square
#949D17 #179D63 #20179D #9D1751
split-complementary
#949D17 #17519D #63179D
monochromatic
#2F3207 #62680F #949D17 #C6D21F #DAE44A

Accessibility & contrast

On white

2.96
#949D17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#949D17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D17
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D17#FFFFFF#000000##000000
##949D171.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A99726
Tritanopia (blue-blind)
#9F9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d17;
/* rgb */ color: rgb(148, 157, 23);
/* oklch */ color: oklch(66.7% 0.144 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b964',
    500: '#949d17',
    950: '#000000',
  },
}
SCSS
$custom: #949d17;
$custom-light: #b7b964;
$custom-dark: #000000;
JSON
{
  "hex": "#949d17",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 64.03,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.1437,
    "h": 113.9
  },
  "luminance": 0.30472
}

Semantic roles & 50–950 ramp

primary
#949D17
secondary
#524AC6
accent
#37F143
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949D17

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

Preview Lab → · Contrast checker → · Palette generator →

#949D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva