#939C2A#939C2A

#939C2A is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.4% C 0.134 H 114.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#939C2A
RGBrgb(147, 156, 42)
HSLhsl(65, 58%, 39%)
HSVhsv(65, 73%, 61%)
CMYKcmyk(5.8%, 0%, 73.1%, 38.8%)
CIE-LABlab(61.78, -17.75, 55.04)
CIE-LCHlch(61.78, 57.83, 107.87°)
OKLaboklab(66.44% -0.0543 0.122)
OKLCHoklch(66.44% 0.134 114)
XYZxyz(24.3397, 30.1476, 6.7269)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939C2A #332A9C
analogous
#9C6C2A #939C2A #5A9C2A
triadic
#939C2A #2A939C #9C2A93
tetradic
#939C2A #2A9C6C #332A9C #9C2A5A
square
#939C2A #2A9C6C #332A9C #9C2A5A
split-complementary
#939C2A #2A5A9C #6C2A9C
monochromatic
#383C10 #666C1D #939C2A #BECA39 #CED76A

Accessibility & contrast

On white

2.99
#939C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#939C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939C2A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939C2A#FFFFFF#000000##000000
##939C2A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89414
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#9D9386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #939c2a;
/* rgb */ color: rgb(147, 156, 42);
/* oklch */ color: oklch(66.4% 0.134 114.0);
Tailwind
colors: {
  custom: {
    50: '#b6b96c',
    500: '#939c2a',
    950: '#000000',
  },
}
SCSS
$custom: #939c2a;
$custom-light: #b6b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#939c2a",
  "rgb": {
    "r": 147,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 64.737,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66444,
    "c": 0.13352,
    "h": 114
  },
  "luminance": 0.30147
}

Semantic roles & 50–950 ramp

primary
#939C2A
secondary
#6C65BD
accent
#47E153
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #939C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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