#949E17#949E17

#949E17 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.145 H 114.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#949E17
RGBrgb(148, 158, 23)
HSLhsl(64, 75%, 35%)
HSVhsv(64, 85%, 62%)
CMYKcmyk(6.3%, 0%, 85.4%, 38%)
CIE-LABlab(62.35, -19.09, 61.32)
CIE-LCHlch(62.35, 64.22, 107.29°)
OKLaboklab(66.89% -0.0595 0.132)
OKLCHoklch(66.89% 0.145 114.3)
XYZxyz(24.5951, 30.8120, 5.4621)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E17 #21179E
analogous
#9E6417 #949E17 #519E17
triadic
#949E17 #17949E #9E1794
tetradic
#949E17 #179E64 #21179E #9E1751
square
#949E17 #179E64 #21179E #9E1751
split-complementary
#949E17 #17519E #64179E
monochromatic
#303307 #62690F #949E17 #C6D31F #D9E54B

Accessibility & contrast

On white

2.93
#949E17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#949E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E17
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E17#FFFFFF#000000##000000
##949E171.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e17;
/* rgb */ color: rgb(148, 158, 23);
/* oklch */ color: oklch(66.9% 0.145 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba64',
    500: '#949e17',
    950: '#000000',
  },
}
SCSS
$custom: #949e17;
$custom-light: #b7ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#949e17",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 64.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6689,
    "c": 0.14476,
    "h": 114.3
  },
  "luminance": 0.30811
}

Semantic roles & 50–950 ramp

primary
#949E17
secondary
#544AC6
accent
#37F144
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949E17

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

Preview Lab → · Contrast checker → · Palette generator →

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