#949C1F#949C1F

#949C1F is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.139 H 113.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#949C1F
RGBrgb(148, 156, 31)
HSLhsl(64, 67%, 37%)
HSVhsv(64, 80%, 61%)
CMYKcmyk(5.1%, 0%, 80.1%, 38.8%)
CIE-LABlab(61.80, -17.80, 58.73)
CIE-LCHlch(61.80, 61.37, 106.86°)
OKLaboklab(66.46% -0.0554 0.1278)
OKLCHoklch(66.46% 0.139 113.4)
XYZxyz(24.3493, 30.1723, 5.8372)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C1F #271F9C
analogous
#9C661F #949C1F #569C1F
triadic
#949C1F #1F949C #9C1F94
tetradic
#949C1F #1F9C66 #271F9C #9C1F56
square
#949C1F #1F9C66 #271F9C #9C1F56
split-complementary
#949C1F #1F569C #661F9C
monochromatic
#33360B #646915 #949C1F #C4CF29 #D5DE58

Accessibility & contrast

On white

2.99
#949C1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#949C1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C1F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C1F#FFFFFF#000000##000000
##949C1F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8962B
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c1f;
/* rgb */ color: rgb(148, 156, 31);
/* oklch */ color: oklch(66.5% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#b7b967',
    500: '#949c1f',
    950: '#000000',
  },
}
SCSS
$custom: #949c1f;
$custom-light: #b7b967;
$custom-dark: #000000;
JSON
{
  "hex": "#949c1f",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 63.84,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.13928,
    "h": 113.4
  },
  "luminance": 0.30172
}

Semantic roles & 50–950 ramp

primary
#949C1F
secondary
#5C55C1
accent
#3EEA49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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