#949B1F#949B1F

#949B1F is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.2% C 0.138 H 113.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#949B1F
RGBrgb(148, 155, 31)
HSLhsl(63, 67%, 36%)
HSVhsv(63, 80%, 61%)
CMYKcmyk(4.5%, 0%, 80%, 39.2%)
CIE-LABlab(61.51, -17.29, 58.47)
CIE-LCHlch(61.51, 60.97, 106.47°)
OKLaboklab(66.23% -0.054 0.1272)
OKLCHoklch(66.23% 0.138 113)
XYZxyz(24.1822, 29.8381, 5.7815)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B1F #261F9B
analogous
#9B641F #949B1F #569B1F
triadic
#949B1F #1F949B #9B1F94
tetradic
#949B1F #1F9B64 #261F9B #9B1F56
square
#949B1F #1F9B64 #261F9B #9B1F56
split-complementary
#949B1F #1F569B #641F9B
monochromatic
#33350B #636815 #949B1F #C5CE29 #D6DD57

Accessibility & contrast

On white

3.01
#949B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#949B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B1F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B1F#FFFFFF#000000##000000
##949B1F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962B
Tritanopia (blue-blind)
#9E9184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b1f;
/* rgb */ color: rgb(148, 155, 31);
/* oklch */ color: oklch(66.2% 0.138 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b867',
    500: '#949b1f',
    950: '#000000',
  },
}
SCSS
$custom: #949b1f;
$custom-light: #b7b867;
$custom-dark: #000000;
JSON
{
  "hex": "#949b1f",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 63.387,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66231,
    "c": 0.13822,
    "h": 113
  },
  "luminance": 0.29838
}

Semantic roles & 50–950 ramp

primary
#949B1F
secondary
#5B55C1
accent
#3EEA48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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