#74802A#74802A

#74802A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.2% C 0.110 H 116.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#74802A
RGBrgb(116, 128, 42)
HSLhsl(68, 51%, 33%)
HSVhsv(68, 67%, 50%)
CMYKcmyk(9.4%, 0%, 67.2%, 49.8%)
CIE-LABlab(51.06, -16.82, 43.47)
CIE-LCHlch(51.06, 46.61, 111.15°)
OKLaboklab(57.23% -0.0498 0.0985)
OKLCHoklch(57.23% 0.11 116.8)
XYZxyz(15.3399, 19.3187, 5.1108)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74802A #362A80
analogous
#80612A #74802A #49802A
triadic
#74802A #2A7480 #802A74
tetradic
#74802A #2A8061 #362A80 #802A49
square
#74802A #2A8061 #362A80 #802A49
split-complementary
#74802A #2A4980 #612A80
monochromatic
#20240C #4A521B #74802A #9EAE39 #BAC95B

Accessibility & contrast

On white

4.32
#74802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#74802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74802A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74802A#FFFFFF#000000##000000
##74802A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#7B796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #74802a;
/* rgb */ color: rgb(116, 128, 42);
/* oklch */ color: oklch(57.2% 0.110 116.8);
Tailwind
colors: {
  custom: {
    50: '#9ea468',
    500: '#74802a',
    950: '#000000',
  },
}
SCSS
$custom: #74802a;
$custom-light: #9ea468;
$custom-dark: #000000;
JSON
{
  "hex": "#74802a",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 68.372,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.1104,
    "h": 116.8
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#74802A
secondary
#6357AF
accent
#4EDA61
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #74802A

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

Preview Lab → · Contrast checker → · Palette generator →

#74802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva