#74802F#74802F

#74802F is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.106 H 117.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#74802F
RGBrgb(116, 128, 47)
HSLhsl(69, 46%, 34%)
HSVhsv(69, 63%, 50%)
CMYKcmyk(9.4%, 0%, 63.3%, 49.8%)
CIE-LABlab(51.10, -16.44, 41.26)
CIE-LCHlch(51.10, 44.42, 111.73°)
OKLaboklab(57.28% -0.0482 0.0946)
OKLCHoklch(57.28% 0.106 117)
XYZxyz(15.4350, 19.3568, 5.6119)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74802F #3B2F80
analogous
#80642F #74802F #4C802F
triadic
#74802F #2F7480 #802F74
tetradic
#74802F #2F8064 #3B2F80 #802F4C
square
#74802F #2F8064 #3B2F80 #802F4C
split-complementary
#74802F #2F4C80 #642F80
monochromatic
#23260E #4B531F #74802F #9DAD3F #B7C663

Accessibility & contrast

On white

4.31
#74802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##74802F#FFFFFF#000000##000000
##74802F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#7B796F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #74802f;
/* rgb */ color: rgb(116, 128, 47);
/* oklch */ color: oklch(57.3% 0.106 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ea46b',
    500: '#74802f',
    950: '#000000',
  },
}
SCSS
$custom: #74802f;
$custom-light: #9ea46b;
$custom-dark: #000000;
JSON
{
  "hex": "#74802f",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 68.889,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.10619,
    "h": 117
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#74802F
secondary
#6A5EAD
accent
#52D665
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F07
muted
#7E7F7A

Preview Lab

Preview with #74802F

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

Preview Lab → · Contrast checker → · Palette generator →

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