#949A1F#949A1F

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

Color values

HEX#949A1F
RGBrgb(148, 154, 31)
HSLhsl(63, 66%, 36%)
HSVhsv(63, 80%, 60%)
CMYKcmyk(3.9%, 0%, 79.9%, 39.6%)
CIE-LABlab(61.23, -16.77, 58.22)
CIE-LCHlch(61.23, 60.58, 106.07°)
OKLaboklab(66% -0.0525 0.1267)
OKLCHoklch(66% 0.137 112.5)
XYZxyz(24.0165, 29.5066, 5.7263)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A1F #251F9A
analogous
#9A631F #949A1F #579A1F
triadic
#949A1F #1F949A #9A1F94
tetradic
#949A1F #1F9A63 #251F9A #9A1F57
square
#949A1F #1F9A63 #251F9A #9A1F57
split-complementary
#949A1F #1F579A #631F9A
monochromatic
#32340A #636715 #949A1F #C5CD29 #D6DD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949A1F#FFFFFF#000000##000000
##949A1F1.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)
#A6952A
Tritanopia (blue-blind)
#9F9084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a1f;
/* rgb */ color: rgb(148, 154, 31);
/* oklch */ color: oklch(66.0% 0.137 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b767',
    500: '#949a1f',
    950: '#000000',
  },
}
SCSS
$custom: #949a1f;
$custom-light: #b7b767;
$custom-dark: #000000;
JSON
{
  "hex": "#949a1f",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 62.927,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66,
    "c": 0.13716,
    "h": 112.5
  },
  "luminance": 0.29506
}

Semantic roles & 50–950 ramp

primary
#949A1F
secondary
#5954C1
accent
#3EE947
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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