#949F17#949F17

#949F17 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.146 H 114.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#949F17
RGBrgb(148, 159, 23)
HSLhsl(65, 75%, 36%)
HSVhsv(65, 86%, 62%)
CMYKcmyk(6.9%, 0%, 85.5%, 37.6%)
CIE-LABlab(62.64, -19.60, 61.56)
CIE-LCHlch(62.64, 64.61, 107.66°)
OKLaboklab(67.12% -0.0609 0.1325)
OKLCHoklch(67.12% 0.146 114.7)
XYZxyz(24.7663, 31.1545, 5.5192)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F17 #22179F
analogous
#9F6617 #949F17 #509F17
triadic
#949F17 #17949F #9F1794
tetradic
#949F17 #179F66 #22179F #9F1750
square
#949F17 #179F66 #22179F #9F1750
split-complementary
#949F17 #17509F #66179F
monochromatic
#303408 #626A0F #949F17 #C6D41F #D9E54B

Accessibility & contrast

On white

2.90
#949F17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#949F17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F17
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F17#FFFFFF#000000##000000
##949F171.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9926
Tritanopia (blue-blind)
#9E9587
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949f17;
/* rgb */ color: rgb(148, 159, 23);
/* oklch */ color: oklch(67.1% 0.146 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb64',
    500: '#949f17',
    950: '#000000',
  },
}
SCSS
$custom: #949f17;
$custom-light: #b7bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#949f17",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 64.853,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67122,
    "c": 0.14582,
    "h": 114.7
  },
  "luminance": 0.31154
}

Semantic roles & 50–950 ramp

primary
#949F17
secondary
#554BC7
accent
#36F146
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949F17

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

Preview Lab → · Contrast checker → · Palette generator →

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