#939B2F#939B2F

#939B2F is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.3% C 0.129 H 113.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#939B2F
RGBrgb(147, 155, 47)
HSLhsl(64, 53%, 40%)
HSVhsv(64, 70%, 61%)
CMYKcmyk(5.2%, 0%, 69.7%, 39.2%)
CIE-LABlab(61.53, -16.96, 52.89)
CIE-LCHlch(61.53, 55.55, 107.78°)
OKLaboklab(66.25% -0.0516 0.1183)
OKLCHoklch(66.25% 0.129 113.6)
XYZxyz(24.2677, 29.8515, 7.1723)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939B2F #372F9B
analogous
#9B6D2F #939B2F #5D9B2F
triadic
#939B2F #2F939B #9B2F93
tetradic
#939B2F #2F9B6D #372F9B #9B2F5D
square
#939B2F #2F9B6D #372F9B #9B2F5D
split-complementary
#939B2F #2F5D9B #6D2F9B
monochromatic
#3A3D13 #666C21 #939B2F #BCC642 #CCD471

Accessibility & contrast

On white

3.01
#939B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#939B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #939B2F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939B2F#FFFFFF#000000##000000
##939B2F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6941E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#9D9286
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #939b2f;
/* rgb */ color: rgb(147, 155, 47);
/* oklch */ color: oklch(66.3% 0.129 113.6);
Tailwind
colors: {
  custom: {
    50: '#b6b86e',
    500: '#939b2f',
    950: '#000000',
  },
}
SCSS
$custom: #939b2f;
$custom-light: #b6b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#939b2f",
  "rgb": {
    "r": 147,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 64.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6625,
    "c": 0.12909,
    "h": 113.6
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#939B2F
secondary
#706ABB
accent
#4BDD56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #939B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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