#949D18#949D18

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

Color values

HEX#949D18
RGBrgb(148, 157, 24)
HSLhsl(64, 73%, 35%)
HSVhsv(64, 85%, 62%)
CMYKcmyk(5.7%, 0%, 84.7%, 38.4%)
CIE-LABlab(62.06, -18.55, 60.84)
CIE-LCHlch(62.06, 63.61, 106.96°)
OKLaboklab(66.66% -0.058 0.1311)
OKLCHoklch(66.66% 0.143 113.9)
XYZxyz(24.4354, 30.4763, 5.4593)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D18 #21189D
analogous
#9D6318 #949D18 #519D18
triadic
#949D18 #18949D #9D1894
tetradic
#949D18 #189D63 #21189D #9D1851
square
#949D18 #189D63 #21189D #9D1851
split-complementary
#949D18 #18519D #63189D
monochromatic
#303308 #626810 #949D18 #C6D220 #D9E44C

Accessibility & contrast

On white

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

On black

7.10
#949D18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D18
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D18#FFFFFF#000000##000000
##949D181.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #949d18;
/* rgb */ color: rgb(148, 157, 24);
/* oklch */ color: oklch(66.7% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b964',
    500: '#949d18',
    950: '#000000',
  },
}
SCSS
$custom: #949d18;
$custom-light: #b7b964;
$custom-dark: #000000;
JSON
{
  "hex": "#949d18",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 64.06,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.14333,
    "h": 113.9
  },
  "luminance": 0.30476
}

Semantic roles & 50–950 ramp

primary
#949D18
secondary
#544BC5
accent
#38F044
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949D18

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

Preview Lab → · Contrast checker → · Palette generator →

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