#939E2F#939E2F

#939E2F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 66.9% C 0.133 H 114.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#939E2F
RGBrgb(147, 158, 47)
HSLhsl(66, 54%, 40%)
HSVhsv(66, 70%, 62%)
CMYKcmyk(7%, 0%, 70.3%, 38%)
CIE-LABlab(62.39, -18.51, 53.76)
CIE-LCHlch(62.39, 56.85, 109.00°)
OKLaboklab(66.94% -0.0559 0.1202)
OKLCHoklch(66.94% 0.133 114.9)
XYZxyz(24.7732, 30.8624, 7.3408)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939E2F #3A2F9E
analogous
#9E712F #939E2F #5B9E2F
triadic
#939E2F #2F939E #9E2F93
tetradic
#939E2F #2F9E71 #3A2F9E #9E2F5B
square
#939E2F #2F9E71 #3A2F9E #9E2F5B
split-complementary
#939E2F #2F5B9E #712F9E
monochromatic
#3B4013 #676F21 #939E2F #BAC743 #CBD572

Accessibility & contrast

On white

2.93
#939E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#939E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939E2F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939E2F#FFFFFF#000000##000000
##939E2F1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #939e2f;
/* rgb */ color: rgb(147, 158, 47);
/* oklch */ color: oklch(66.9% 0.133 114.9);
Tailwind
colors: {
  custom: {
    50: '#b6ba6f',
    500: '#939e2f',
    950: '#000000',
  },
}
SCSS
$custom: #939e2f;
$custom-light: #b6ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#939e2f",
  "rgb": {
    "r": 147,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 65.946,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66943,
    "c": 0.13252,
    "h": 114.9
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#939E2F
secondary
#746CBD
accent
#4ADE59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #939E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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