#949F1F#949F1F

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

Color values

HEX#949F1F
RGBrgb(148, 159, 31)
HSLhsl(65, 67%, 37%)
HSVhsv(65, 81%, 62%)
CMYKcmyk(6.9%, 0%, 80.5%, 37.6%)
CIE-LABlab(62.67, -19.33, 59.50)
CIE-LCHlch(62.67, 62.56, 108.00°)
OKLaboklab(67.16% -0.0596 0.1294)
OKLCHoklch(67.16% 0.143 114.7)
XYZxyz(24.8590, 31.1916, 6.0071)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F1F #2A1F9F
analogous
#9F6A1F #949F1F #549F1F
triadic
#949F1F #1F949F #9F1F94
tetradic
#949F1F #1F9F6A #2A1F9F #9F1F54
square
#949F1F #1F9F6A #2A1F9F #9F1F54
split-complementary
#949F1F #1F549F #6A1F9F
monochromatic
#35390B #646C15 #949F1F #C4D229 #D3DF5A

Accessibility & contrast

On white

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

On black

7.24
#949F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F1F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F1F#FFFFFF#000000##000000
##949F1F1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #949f1f;
/* rgb */ color: rgb(148, 159, 31);
/* oklch */ color: oklch(67.2% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb67',
    500: '#949f1f',
    950: '#000000',
  },
}
SCSS
$custom: #949f1f;
$custom-light: #b7bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#949f1f",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 65.156,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.14251,
    "h": 114.7
  },
  "luminance": 0.31191
}

Semantic roles & 50–950 ramp

primary
#949F1F
secondary
#6057C3
accent
#3EEA4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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