#939740#939740

#939740 is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.5% C 0.111 H 111.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#939740
RGBrgb(147, 151, 64)
HSLhsl(63, 40%, 42%)
HSVhsv(63, 58%, 59%)
CMYKcmyk(2.6%, 0%, 57.6%, 40.8%)
CIE-LABlab(60.52, -13.70, 44.41)
CIE-LCHlch(60.52, 46.48, 107.14°)
OKLaboklab(65.49% -0.0406 0.1029)
OKLCHoklch(65.49% 0.111 111.5)
XYZxyz(24.0252, 28.7069, 9.1249)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939740 #444097
analogous
#977040 #939740 #679740
triadic
#939740 #409397 #974093
tetradic
#939740 #409770 #444097 #974067
square
#939740 #409770 #444097 #974067
split-complementary
#939740 #406797 #704097
monochromatic
#3F411C #696C2E #939740 #B5B95B #C8CC86

Accessibility & contrast

On white

3.12
#939740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#939740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #939740
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939740#FFFFFF#000000##000000
##9397401.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29137
Deuteranopia (green-blind)
#A29345
Tritanopia (blue-blind)
#9C8F84
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #939740;
/* rgb */ color: rgb(147, 151, 64);
/* oklch */ color: oklch(65.5% 0.111 111.5);
Tailwind
colors: {
  custom: {
    50: '#b5b578',
    500: '#939740',
    950: '#000000',
  },
}
SCSS
$custom: #939740;
$custom-light: #b5b578;
$custom-dark: #000000;
JSON
{
  "hex": "#939740",
  "rgb": {
    "r": 147,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 62.759,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.11061,
    "h": 111.5
  },
  "luminance": 0.28706
}

Semantic roles & 50–950 ramp

primary
#939740
secondary
#7F7DB6
accent
#57D05D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #939740

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

Preview Lab → · Contrast checker → · Palette generator →

#939740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva