#949F12#949F12

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

Color values

HEX#949F12
RGBrgb(148, 159, 18)
HSLhsl(65, 80%, 35%)
HSVhsv(65, 89%, 62%)
CMYKcmyk(6.9%, 0%, 88.7%, 37.6%)
CIE-LABlab(62.62, -19.73, 62.62)
CIE-LCHlch(62.62, 65.66, 107.49°)
OKLaboklab(67.11% -0.0615 0.134)
OKLCHoklch(67.11% 0.147 114.7)
XYZxyz(24.7209, 31.1363, 5.2798)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F12 #1D129F
analogous
#9F6412 #949F12 #4D9F12
triadic
#949F12 #12949F #9F1294
tetradic
#949F12 #129F64 #1D129F #9F124D
square
#949F12 #129F64 #1D129F #9F124D
split-complementary
#949F12 #124D9F #64129F
monochromatic
#2E3106 #61680C #949F12 #C7D618 #DCEA42

Accessibility & contrast

On white

2.91
#949F12 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#949F12 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F12
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F12#FFFFFF#000000##000000
##949F121.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9924
Tritanopia (blue-blind)
#9E9587
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949f12;
/* rgb */ color: rgb(148, 159, 18);
/* oklch */ color: oklch(67.1% 0.147 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb63',
    500: '#949f12',
    950: '#000000',
  },
}
SCSS
$custom: #949f12;
$custom-light: #b7bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#949f12",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 18
  },
  "hsl": {
    "h": 64.681,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.67105,
    "c": 0.14747,
    "h": 114.7
  },
  "luminance": 0.31136
}

Semantic roles & 50–950 ramp

primary
#949F12
secondary
#4E43CA
accent
#32F641
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949F12

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

Preview Lab → · Contrast checker → · Palette generator →

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