#949D1C#949D1C

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

Color values

HEX#949D1C
RGBrgb(148, 157, 28)
HSLhsl(64, 70%, 36%)
HSVhsv(64, 82%, 62%)
CMYKcmyk(5.7%, 0%, 82.2%, 38.4%)
CIE-LABlab(62.08, -18.42, 59.82)
CIE-LCHlch(62.08, 62.60, 107.12°)
OKLaboklab(66.68% -0.0573 0.1296)
OKLCHoklch(66.68% 0.142 113.9)
XYZxyz(24.4801, 30.4942, 5.6948)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D1C #251C9D
analogous
#9D661C #949D1C #549D1C
triadic
#949D1C #1C949D #9D1C94
tetradic
#949D1C #1C9D66 #251C9D #9D1C54
square
#949D1C #1C9D66 #251C9D #9D1C54
split-complementary
#949D1C #1C549D #661C9D
monochromatic
#323509 #636913 #949D1C #C5D125 #D6E053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949D1C#FFFFFF#000000##000000
##949D1C1.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)
#A99729
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d1c;
/* rgb */ color: rgb(148, 157, 28);
/* oklch */ color: oklch(66.7% 0.142 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b966',
    500: '#949d1c',
    950: '#000000',
  },
}
SCSS
$custom: #949d1c;
$custom-light: #b7b966;
$custom-dark: #000000;
JSON
{
  "hex": "#949d1c",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 64.186,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.14171,
    "h": 113.9
  },
  "luminance": 0.30494
}

Semantic roles & 50–950 ramp

primary
#949D1C
secondary
#5951C3
accent
#3BED48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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