#747F2F#747F2F

#747F2F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.0% C 0.105 H 116.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#747F2F
RGBrgb(116, 127, 47)
HSLhsl(68, 46%, 34%)
HSVhsv(68, 63%, 50%)
CMYKcmyk(8.7%, 0%, 63%, 50.2%)
CIE-LABlab(50.80, -15.91, 40.94)
CIE-LCHlch(50.80, 43.92, 111.24°)
OKLaboklab(57.04% -0.0467 0.0939)
OKLCHoklch(57.04% 0.105 116.4)
XYZxyz(15.3052, 19.0972, 5.5686)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F2F #3A2F7F
analogous
#7F622F #747F2F #4C7F2F
triadic
#747F2F #2F747F #7F2F74
tetradic
#747F2F #2F7F62 #3A2F7F #7F2F4C
square
#747F2F #2F7F62 #3A2F7F #7F2F4C
split-complementary
#747F2F #2F4C7F #622F7F
monochromatic
#22260E #4B521E #747F2F #9DAC40 #B8C563

Accessibility & contrast

On white

4.36
#747F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#747F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747F2F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747F2F#FFFFFF#000000##000000
##747F2F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877926
Deuteranopia (green-blind)
#867A34
Tritanopia (blue-blind)
#7B786E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #747f2f;
/* rgb */ color: rgb(116, 127, 47);
/* oklch */ color: oklch(57.0% 0.105 116.4);
Tailwind
colors: {
  custom: {
    50: '#9ea46b',
    500: '#747f2f',
    950: '#000000',
  },
}
SCSS
$custom: #747f2f;
$custom-light: #9ea46b;
$custom-dark: #000000;
JSON
{
  "hex": "#747f2f",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 68.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.10491,
    "h": 116.4
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#747F2F
secondary
#685EAC
accent
#52D664
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F07
muted
#7E7F7A

Preview Lab

Preview with #747F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#747F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva