#74802B#74802B

#74802B 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.87:1 contrast (WCAG AA passes).

Color values

HEX#74802B
RGBrgb(116, 128, 43)
HSLhsl(68, 50%, 34%)
HSVhsv(68, 66%, 50%)
CMYKcmyk(9.4%, 0%, 66.4%, 49.8%)
CIE-LABlab(51.07, -16.74, 43.04)
CIE-LCHlch(51.07, 46.18, 111.26°)
OKLaboklab(57.24% -0.0495 0.0978)
OKLCHoklch(57.24% 0.11 116.8)
XYZxyz(15.3580, 19.3259, 5.2063)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74802B #372B80
analogous
#80612B #74802B #49802B
triadic
#74802B #2B7480 #802B74
tetradic
#74802B #2B8061 #372B80 #802B49
square
#74802B #2B8061 #372B80 #802B49
split-complementary
#74802B #2B4980 #612B80
monochromatic
#21240C #4A521C #74802B #9EAE3A #B9C95D

Accessibility & contrast

On white

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

On black

4.87
#74802B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74802B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74802B#FFFFFF#000000##000000
##74802B1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897920
Deuteranopia (green-blind)
#887A31
Tritanopia (blue-blind)
#7B796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #74802b;
/* rgb */ color: rgb(116, 128, 43);
/* oklch */ color: oklch(57.2% 0.110 116.8);
Tailwind
colors: {
  custom: {
    50: '#9ea469',
    500: '#74802b',
    950: '#000000',
  },
}
SCSS
$custom: #74802b;
$custom-light: #9ea469;
$custom-dark: #000000;
JSON
{
  "hex": "#74802b",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 68.471,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.10959,
    "h": 116.8
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#74802B
secondary
#6558AE
accent
#4FD962
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #74802B

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

Preview Lab → · Contrast checker → · Palette generator →

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