#949D1A#949D1A

#949D1A 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#949D1A
RGBrgb(148, 157, 26)
HSLhsl(64, 72%, 36%)
HSVhsv(64, 83%, 62%)
CMYKcmyk(5.7%, 0%, 83.4%, 38.4%)
CIE-LABlab(62.07, -18.49, 60.35)
CIE-LCHlch(62.07, 63.12, 107.03°)
OKLaboklab(66.67% -0.0577 0.1304)
OKLCHoklch(66.67% 0.143 113.9)
XYZxyz(24.4570, 30.4849, 5.5729)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D1A #231A9D
analogous
#9D641A #949D1A #529D1A
triadic
#949D1A #1A949D #9D1A94
tetradic
#949D1A #1A9D64 #231A9D #9D1A52
square
#949D1A #1A9D64 #231A9D #9D1A52
split-complementary
#949D1A #1A529D #641A9D
monochromatic
#313409 #636811 #949D1A #C5D223 #D8E24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #949d1a;
/* rgb */ color: rgb(148, 157, 26);
/* oklch */ color: oklch(66.7% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b965',
    500: '#949d1a',
    950: '#000000',
  },
}
SCSS
$custom: #949d1a;
$custom-light: #b7b965;
$custom-dark: #000000;
JSON
{
  "hex": "#949d1a",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 64.122,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6667,
    "c": 0.14254,
    "h": 113.9
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#949D1A
secondary
#574EC4
accent
#39EE46
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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