#747D21#747D21

#747D21 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.4% C 0.113 H 115.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#747D21
RGBrgb(116, 125, 33)
HSLhsl(66, 58%, 31%)
HSVhsv(66, 74%, 49%)
CMYKcmyk(7.2%, 0%, 73.6%, 51%)
CIE-LABlab(50.09, -15.79, 46.22)
CIE-LCHlch(50.09, 48.84, 108.86°)
OKLaboklab(56.43% -0.0479 0.1028)
OKLCHoklch(56.43% 0.113 115)
XYZxyz(14.8110, 18.4903, 4.2273)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747D21 #2A217D
analogous
#7D5821 #747D21 #467D21
triadic
#747D21 #21747D #7D2174
tetradic
#747D21 #217D58 #2A217D #7D2146
square
#747D21 #217D58 #2A217D #7D2146
split-complementary
#747D21 #21467D #58217D
monochromatic
#1A1C07 #474D14 #747D21 #A1AD2E #C2CF49

Accessibility & contrast

On white

4.47
#747D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#747D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747D21
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747D21#FFFFFF#000000##000000
##747D211.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867611
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#7C756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #747d21;
/* rgb */ color: rgb(116, 125, 33);
/* oklch */ color: oklch(56.4% 0.113 115.0);
Tailwind
colors: {
  custom: {
    50: '#9fa263',
    500: '#747d21',
    950: '#000000',
  },
}
SCSS
$custom: #747d21;
$custom-light: #9fa263;
$custom-dark: #000000;
JSON
{
  "hex": "#747d21",
  "rgb": {
    "r": 116,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 65.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.11339,
    "h": 115
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#747D21
secondary
#544AB0
accent
#46E156
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #747D21

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

Preview Lab → · Contrast checker → · Palette generator →

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