#949D12#949D12

#949D12 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.6% C 0.145 H 113.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#949D12
RGBrgb(148, 157, 18)
HSLhsl(64, 79%, 34%)
HSVhsv(64, 89%, 62%)
CMYKcmyk(5.7%, 0%, 88.5%, 38.4%)
CIE-LABlab(62.04, -18.71, 62.15)
CIE-LCHlch(62.04, 64.91, 106.75°)
OKLaboklab(66.64% -0.0587 0.133)
OKLCHoklch(66.64% 0.145 113.8)
XYZxyz(24.3797, 30.4540, 5.1661)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D12 #1B129D
analogous
#9D6112 #949D12 #4F9D12
triadic
#949D12 #12949D #9D1294
tetradic
#949D12 #129D61 #1B129D #9D124F
square
#949D12 #129D61 #1B129D #9D124F
split-complementary
#949D12 #124F9D #61129D
monochromatic
#2C2F05 #60660C #949D12 #C8D418 #DEE940

Accessibility & contrast

On white

2.96
#949D12 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#949D12 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D12
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D12#FFFFFF#000000##000000
##949D121.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A99723
Tritanopia (blue-blind)
#9F9385
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d12;
/* rgb */ color: rgb(148, 157, 18);
/* oklch */ color: oklch(66.6% 0.145 113.8);
Tailwind
colors: {
  custom: {
    50: '#b7b963',
    500: '#949d12',
    950: '#000000',
  },
}
SCSS
$custom: #949d12;
$custom-light: #b7b963;
$custom-dark: #000000;
JSON
{
  "hex": "#949d12",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 18
  },
  "hsl": {
    "h": 63.885,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.66641,
    "c": 0.14538,
    "h": 113.8
  },
  "luminance": 0.30454
}

Semantic roles & 50–950 ramp

primary
#949D12
secondary
#4B42C9
accent
#32F63F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949D12

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

Preview Lab → · Contrast checker → · Palette generator →

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