#949A1D#949A1D

#949A1D is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.0% C 0.138 H 112.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#949A1D
RGBrgb(148, 154, 29)
HSLhsl(63, 68%, 36%)
HSVhsv(63, 81%, 60%)
CMYKcmyk(3.9%, 0%, 81.2%, 39.6%)
CIE-LABlab(61.22, -16.84, 58.79)
CIE-LCHlch(61.22, 61.16, 105.99°)
OKLaboklab(65.99% -0.0529 0.1276)
OKLCHoklch(65.99% 0.138 112.5)
XYZxyz(23.9909, 29.4964, 5.5917)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A1D #231D9A
analogous
#9A611D #949A1D #559A1D
triadic
#949A1D #1D949A #9A1D94
tetradic
#949A1D #1D9A61 #231D9A #9A1D55
square
#949A1D #1D9A61 #231D9A #9A1D55
split-complementary
#949A1D #1D559A #611D9A
monochromatic
#31330A #636613 #949A1D #C5CE27 #D8DF53

Accessibility & contrast

On white

3.04
#949A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#949A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A1D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A1D#FFFFFF#000000##000000
##949A1D1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A79529
Tritanopia (blue-blind)
#9F9083
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a1d;
/* rgb */ color: rgb(148, 154, 29);
/* oklch */ color: oklch(66.0% 0.138 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b766',
    500: '#949a1d',
    950: '#000000',
  },
}
SCSS
$custom: #949a1d;
$custom-light: #b7b766;
$custom-dark: #000000;
JSON
{
  "hex": "#949a1d",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 62.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6599,
    "c": 0.13809,
    "h": 112.5
  },
  "luminance": 0.29496
}

Semantic roles & 50–950 ramp

primary
#949A1D
secondary
#5751C2
accent
#3DEB45
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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