#949E1B#949E1B

#949E1B is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.143 H 114.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#949E1B
RGBrgb(148, 158, 27)
HSLhsl(65, 71%, 36%)
HSVhsv(65, 83%, 62%)
CMYKcmyk(6.3%, 0%, 82.9%, 38%)
CIE-LABlab(62.36, -18.97, 60.34)
CIE-LCHlch(62.36, 63.25, 107.45°)
OKLaboklab(66.91% -0.0589 0.1305)
OKLCHoklch(66.91% 0.143 114.3)
XYZxyz(24.6382, 30.8292, 5.6894)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E1B #251B9E
analogous
#9E671B #949E1B #539E1B
triadic
#949E1B #1B949E #9E1B94
tetradic
#949E1B #1B9E67 #251B9E #9E1B53
square
#949E1B #1B9E67 #251B9E #9E1B53
split-complementary
#949E1B #1B539E #671B9E
monochromatic
#323509 #636A12 #949E1B #C5D224 #D6E152

Accessibility & contrast

On white

2.93
#949E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#949E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E1B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E1B#FFFFFF#000000##000000
##949E1B1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA9829
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e1b;
/* rgb */ color: rgb(148, 158, 27);
/* oklch */ color: oklch(66.9% 0.143 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba66',
    500: '#949e1b',
    950: '#000000',
  },
}
SCSS
$custom: #949e1b;
$custom-light: #b7ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#949e1b",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 64.58,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66906,
    "c": 0.1432,
    "h": 114.3
  },
  "luminance": 0.30829
}

Semantic roles & 50–950 ramp

primary
#949E1B
secondary
#5951C4
accent
#3AEE48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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