#939E2D#939E2D

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

Color values

HEX#939E2D
RGBrgb(147, 158, 45)
HSLhsl(66, 56%, 40%)
HSVhsv(66, 72%, 62%)
CMYKcmyk(7%, 0%, 71.5%, 38%)
CIE-LABlab(62.38, -18.62, 54.51)
CIE-LCHlch(62.38, 57.60, 108.86°)
OKLaboklab(66.93% -0.0564 0.1214)
OKLCHoklch(66.93% 0.134 114.9)
XYZxyz(24.7338, 30.8467, 7.1332)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939E2D #382D9E
analogous
#9E712D #939E2D #5A9E2D
triadic
#939E2D #2D939E #9E2D93
tetradic
#939E2D #2D9E71 #382D9E #9E2D5A
square
#939E2D #2D9E71 #382D9E #9E2D5A
split-complementary
#939E2D #2D5A9E #712D9E
monochromatic
#3A3F12 #676E1F #939E2D #BBC940 #CCD66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##939E2D#FFFFFF#000000##000000
##939E2D1.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)
#A99619
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#9D9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #939e2d;
/* rgb */ color: rgb(147, 158, 45);
/* oklch */ color: oklch(66.9% 0.134 114.9);
Tailwind
colors: {
  custom: {
    50: '#b6ba6e',
    500: '#939e2d',
    950: '#000000',
  },
}
SCSS
$custom: #939e2d;
$custom-light: #b6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#939e2d",
  "rgb": {
    "r": 147,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 65.841,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66928,
    "c": 0.13386,
    "h": 114.9
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#939E2D
secondary
#7269BD
accent
#49DF57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #939E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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