#74782F#74782F

#74782F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.4% C 0.096 H 112.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#74782F
RGBrgb(116, 120, 47)
HSLhsl(63, 44%, 33%)
HSVhsv(63, 61%, 47%)
CMYKcmyk(3.3%, 0%, 60.8%, 52.9%)
CIE-LABlab(48.70, -12.13, 38.63)
CIE-LCHlch(48.70, 40.49, 107.43°)
OKLaboklab(55.36% -0.0361 0.089)
OKLCHoklch(55.36% 0.096 112.1)
XYZxyz(14.4324, 17.3515, 5.2777)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74782F #332F78
analogous
#78582F #74782F #4F782F
triadic
#74782F #2F7478 #782F74
tetradic
#74782F #2F7858 #332F78 #782F4F
square
#74782F #2F7858 #332F78 #782F4F
split-complementary
#74782F #2F4F78 #582F78
monochromatic
#1F200D #494C1E #74782F #9FA440 #BCC160

Accessibility & contrast

On white

4.70
#74782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#74782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74782F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74782F#FFFFFF#000000##FFFFFF
##74782F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#7B7168
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #74782f;
/* rgb */ color: rgb(116, 120, 47);
/* oklch */ color: oklch(55.4% 0.096 112.1);
Tailwind
colors: {
  custom: {
    50: '#9e9e6b',
    500: '#74782f',
    950: '#000000',
  },
}
SCSS
$custom: #74782f;
$custom-light: #9e9e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#74782f",
  "rgb": {
    "r": 116,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 63.288,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.09606,
    "h": 112.1
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#74782F
secondary
#5F5BA8
accent
#54D35B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E07
muted
#7E7E7A

Preview Lab

Preview with #74782F

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

Preview Lab → · Contrast checker → · Palette generator →

#74782F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva