#939D2A#939D2A

#939D2A is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.135 H 114.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#939D2A
RGBrgb(147, 157, 42)
HSLhsl(65, 58%, 39%)
HSVhsv(65, 73%, 62%)
CMYKcmyk(6.4%, 0%, 73.2%, 38.4%)
CIE-LABlab(62.07, -18.26, 55.32)
CIE-LCHlch(62.07, 58.26, 108.27°)
OKLaboklab(66.68% -0.0557 0.1226)
OKLCHoklch(66.68% 0.135 114.4)
XYZxyz(24.5082, 30.4846, 6.7831)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939D2A #342A9D
analogous
#9D6E2A #939D2A #5A9D2A
triadic
#939D2A #2A939D #9D2A93
tetradic
#939D2A #2A9D6E #342A9D #9D2A5A
square
#939D2A #2A9D6E #342A9D #9D2A5A
split-complementary
#939D2A #2A5A9D #6E2A9D
monochromatic
#393C10 #666D1D #939D2A #BECA3A #CED76A

Accessibility & contrast

On white

2.96
#939D2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#939D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939D2A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939D2A#FFFFFF#000000##000000
##939D2A1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#9D9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #939d2a;
/* rgb */ color: rgb(147, 157, 42);
/* oklch */ color: oklch(66.7% 0.135 114.4);
Tailwind
colors: {
  custom: {
    50: '#b6b96c',
    500: '#939d2a',
    950: '#000000',
  },
}
SCSS
$custom: #939d2a;
$custom-light: #b6b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#939d2a",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 65.217,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.13465,
    "h": 114.4
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#939D2A
secondary
#6D65BE
accent
#47E154
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #939D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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