#949F1B#949F1B

#949F1B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.144 H 114.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#949F1B
RGBrgb(148, 159, 27)
HSLhsl(65, 71%, 36%)
HSVhsv(65, 83%, 62%)
CMYKcmyk(6.9%, 0%, 83%, 37.6%)
CIE-LABlab(62.65, -19.48, 60.59)
CIE-LCHlch(62.65, 63.64, 107.82°)
OKLaboklab(67.14% -0.0603 0.1311)
OKLCHoklch(67.14% 0.144 114.7)
XYZxyz(24.8095, 31.1718, 5.7465)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F1B #261B9F
analogous
#9F681B #949F1B #529F1B
triadic
#949F1B #1B949F #9F1B94
tetradic
#949F1B #1B9F68 #261B9F #9F1B52
square
#949F1B #1B9F68 #261B9F #9F1B52
split-complementary
#949F1B #1B529F #681B9F
monochromatic
#333609 #636B12 #949F1B #C5D324 #D6E253

Accessibility & contrast

On white

2.90
#949F1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#949F1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F1B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F1B#FFFFFF#000000##000000
##949F1B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949f1b;
/* rgb */ color: rgb(148, 159, 27);
/* oklch */ color: oklch(67.1% 0.144 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb66',
    500: '#949f1b',
    950: '#000000',
  },
}
SCSS
$custom: #949f1b;
$custom-light: #b7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#949f1b",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 65,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67138,
    "c": 0.14427,
    "h": 114.7
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#949F1B
secondary
#5B51C5
accent
#3AEE49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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