#939F12#939F12

#939F12 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.0% C 0.148 H 115.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#939F12
RGBrgb(147, 159, 18)
HSLhsl(65, 80%, 35%)
HSVhsv(65, 89%, 62%)
CMYKcmyk(7.5%, 0%, 88.7%, 37.6%)
CIE-LABlab(62.54, -20.17, 62.53)
CIE-LCHlch(62.54, 65.70, 107.88°)
OKLaboklab(67.02% -0.0627 0.1338)
OKLCHoklch(67.02% 0.148 115.1)
XYZxyz(24.5407, 31.0434, 5.2714)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939F12 #1E129F
analogous
#9F6412 #939F12 #4D9F12
triadic
#939F12 #12939F #9F1293
tetradic
#939F12 #129F64 #1E129F #9F124D
square
#939F12 #129F64 #1E129F #9F124D
split-complementary
#939F12 #124D9F #64129F
monochromatic
#2D3106 #60680C #939F12 #C6D618 #DBEA42

Accessibility & contrast

On white

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

On black

7.21
#939F12 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939F12
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939F12#FFFFFF#000000##000000
##939F121.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #939f12;
/* rgb */ color: rgb(147, 159, 18);
/* oklch */ color: oklch(67.0% 0.148 115.1);
Tailwind
colors: {
  custom: {
    50: '#b7bb63',
    500: '#939f12',
    950: '#000000',
  },
}
SCSS
$custom: #939f12;
$custom-light: #b7bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#939f12",
  "rgb": {
    "r": 147,
    "g": 159,
    "b": 18
  },
  "hsl": {
    "h": 65.106,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.1478,
    "h": 115.1
  },
  "luminance": 0.31043
}

Semantic roles & 50–950 ramp

primary
#939F12
secondary
#4F43CA
accent
#32F642
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #939F12

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

Preview Lab → · Contrast checker → · Palette generator →

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