#949E1C#949E1C

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

Color values

HEX#949E1C
RGBrgb(148, 158, 28)
HSLhsl(65, 70%, 36%)
HSVhsv(65, 82%, 62%)
CMYKcmyk(6.3%, 0%, 82.3%, 38%)
CIE-LABlab(62.37, -18.93, 60.07)
CIE-LCHlch(62.37, 62.99, 107.49°)
OKLaboklab(66.91% -0.0587 0.1301)
OKLCHoklch(66.91% 0.143 114.3)
XYZxyz(24.6500, 30.8340, 5.7514)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E1C #261C9E
analogous
#9E671C #949E1C #539E1C
triadic
#949E1C #1C949E #9E1C94
tetradic
#949E1C #1C9E67 #261C9E #9E1C53
square
#949E1C #1C9E67 #261C9E #9E1C53
split-complementary
#949E1C #1C539E #671C9E
monochromatic
#33360A #636A13 #949E1C #C5D225 #D6E154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #949e1c;
/* rgb */ color: rgb(148, 158, 28);
/* oklch */ color: oklch(66.9% 0.143 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba66',
    500: '#949e1c',
    950: '#000000',
  },
}
SCSS
$custom: #949e1c;
$custom-light: #b7ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#949e1c",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 64.615,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66911,
    "c": 0.14278,
    "h": 114.3
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#949E1C
secondary
#5B52C4
accent
#3BED49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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