#939F2B#939F2B

#939F2B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.136 H 115.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#939F2B
RGBrgb(147, 159, 43)
HSLhsl(66, 57%, 40%)
HSVhsv(66, 73%, 62%)
CMYKcmyk(7.5%, 0%, 73%, 37.6%)
CIE-LABlab(62.65, -19.23, 55.52)
CIE-LCHlch(62.65, 58.76, 109.11°)
OKLaboklab(67.15% -0.0583 0.1232)
OKLCHoklch(67.15% 0.136 115.3)
XYZxyz(24.8675, 31.1741, 6.9923)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939F2B #372B9F
analogous
#9F712B #939F2B #599F2B
triadic
#939F2B #2B939F #9F2B93
tetradic
#939F2B #2B9F71 #372B9F #9F2B59
square
#939F2B #2B9F71 #372B9F #9F2B59
split-complementary
#939F2B #2B599F #712B9F
monochromatic
#3A3F11 #666F1E #939F2B #BCCA3D #CCD76D

Accessibility & contrast

On white

2.90
#939F2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#939F2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939F2B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939F2B#FFFFFF#000000##000000
##939F2B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9715
Deuteranopia (green-blind)
#AA9834
Tritanopia (blue-blind)
#9D9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #939f2b;
/* rgb */ color: rgb(147, 159, 43);
/* oklch */ color: oklch(67.1% 0.136 115.3);
Tailwind
colors: {
  custom: {
    50: '#b6bb6d',
    500: '#939f2b',
    950: '#000000',
  },
}
SCSS
$custom: #939f2b;
$custom-light: #b6bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#939f2b",
  "rgb": {
    "r": 147,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 66.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67146,
    "c": 0.13628,
    "h": 115.3
  },
  "luminance": 0.31174
}

Semantic roles & 50–950 ramp

primary
#939F2B
secondary
#7067BE
accent
#47E157
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #939F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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