#939F1B#939F1B

#939F1B is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.1% C 0.145 H 115.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#939F1B
RGBrgb(147, 159, 27)
HSLhsl(65, 71%, 36%)
HSVhsv(65, 83%, 62%)
CMYKcmyk(7.5%, 0%, 83%, 37.6%)
CIE-LABlab(62.57, -19.91, 60.49)
CIE-LCHlch(62.57, 63.68, 108.22°)
OKLaboklab(67.06% -0.0615 0.1309)
OKLCHoklch(67.06% 0.145 115.2)
XYZxyz(24.6293, 31.0789, 5.7381)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939F1B #271B9F
analogous
#9F691B #939F1B #519F1B
triadic
#939F1B #1B939F #9F1B93
tetradic
#939F1B #1B9F69 #271B9F #9F1B51
square
#939F1B #1B9F69 #271B9F #9F1B51
split-complementary
#939F1B #1B519F #691B9F
monochromatic
#323609 #636B12 #939F1B #C3D324 #D5E253

Accessibility & contrast

On white

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

On black

7.22
#939F1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939F1B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939F1B#FFFFFF#000000##000000
##939F1B1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #939f1b;
/* rgb */ color: rgb(147, 159, 27);
/* oklch */ color: oklch(67.1% 0.145 115.2);
Tailwind
colors: {
  custom: {
    50: '#b6bb66',
    500: '#939f1b',
    950: '#000000',
  },
}
SCSS
$custom: #939f1b;
$custom-light: #b6bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#939f1b",
  "rgb": {
    "r": 147,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 65.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67056,
    "c": 0.14461,
    "h": 115.2
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#939F1B
secondary
#5C51C5
accent
#3AEE4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #939F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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