#949E1F#949E1F

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

Color values

HEX#949E1F
RGBrgb(148, 158, 31)
HSLhsl(65, 67%, 37%)
HSVhsv(65, 80%, 62%)
CMYKcmyk(6.3%, 0%, 80.4%, 38%)
CIE-LABlab(62.38, -18.82, 59.24)
CIE-LCHlch(62.38, 62.16, 107.63°)
OKLaboklab(66.93% -0.0582 0.1289)
OKLCHoklch(66.93% 0.141 114.3)
XYZxyz(24.6877, 30.8490, 5.9500)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E1F #291F9E
analogous
#9E681F #949E1F #559E1F
triadic
#949E1F #1F949E #9E1F94
tetradic
#949E1F #1F9E68 #291F9E #9E1F55
square
#949E1F #1F9E68 #291F9E #9E1F55
split-complementary
#949E1F #1F559E #681F9E
monochromatic
#34380B #646B15 #949E1F #C4D129 #D4DE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949E1F#FFFFFF#000000##000000
##949E1F1.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)
#AA982B
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e1f;
/* rgb */ color: rgb(148, 158, 31);
/* oklch */ color: oklch(66.9% 0.141 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba67',
    500: '#949e1f',
    950: '#000000',
  },
}
SCSS
$custom: #949e1f;
$custom-light: #b7ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#949e1f",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 64.724,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66925,
    "c": 0.14142,
    "h": 114.3
  },
  "luminance": 0.30849
}

Semantic roles & 50–950 ramp

primary
#949E1F
secondary
#5F56C2
accent
#3EEA4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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