#949F1C#949F1C

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

Color values

HEX#949F1C
RGBrgb(148, 159, 28)
HSLhsl(65, 70%, 37%)
HSVhsv(65, 82%, 62%)
CMYKcmyk(6.9%, 0%, 82.4%, 37.6%)
CIE-LABlab(62.66, -19.44, 60.33)
CIE-LCHlch(62.66, 63.38, 107.86°)
OKLaboklab(67.14% -0.0601 0.1307)
OKLCHoklch(67.14% 0.144 114.7)
XYZxyz(24.8212, 31.1765, 5.8085)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F1C #271C9F
analogous
#9F691C #949F1C #539F1C
triadic
#949F1C #1C949F #9F1C94
tetradic
#949F1C #1C9F69 #271C9F #9F1C53
square
#949F1C #1C9F69 #271C9F #9F1C53
split-complementary
#949F1C #1C539F #691C9F
monochromatic
#33370A #646B13 #949F1C #C4D325 #D5E154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949F1C#FFFFFF#000000##000000
##949F1C1.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)
#AA9929
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f1c;
/* rgb */ color: rgb(148, 159, 28);
/* oklch */ color: oklch(67.1% 0.144 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb66',
    500: '#949f1c',
    950: '#000000',
  },
}
SCSS
$custom: #949f1c;
$custom-light: #b7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#949f1c",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 65.038,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.14385,
    "h": 114.7
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#949F1C
secondary
#5C53C4
accent
#3BED4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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