#74702A#74702A

#74702A is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.4% C 0.091 H 106.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#74702A
RGBrgb(116, 112, 42)
HSLhsl(57, 47%, 31%)
HSVhsv(57, 64%, 45%)
CMYKcmyk(0%, 3.4%, 63.8%, 54.5%)
CIE-LABlab(46.27, -8.08, 38.37)
CIE-LCHlch(46.27, 39.21, 101.89°)
OKLaboklab(53.4% -0.0252 0.0878)
OKLCHoklch(53.4% 0.091 106)
XYZxyz(13.4150, 15.4690, 4.4692)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74702A #2A2E74
analogous
#744B2A #74702A #53742A
triadic
#74702A #2A7470 #702A74
tetradic
#74702A #2A744B #2A2E74 #742A53
square
#74702A #2A744B #2A2E74 #742A53
split-complementary
#74702A #2A5374 #4B2A74
monochromatic
#1A1909 #47451A #74702A #A19B3A #C2BC56

Accessibility & contrast

On white

5.13
#74702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#74702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74702A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74702A#FFFFFF#000000##FFFFFF
##74702A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C22
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#7C6961
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #74702a;
/* rgb */ color: rgb(116, 112, 42);
/* oklch */ color: oklch(53.4% 0.091 106.0);
Tailwind
colors: {
  custom: {
    50: '#9e9867',
    500: '#74702a',
    950: '#000000',
  },
}
SCSS
$custom: #74702a;
$custom-light: #9e9867;
$custom-dark: #000000;
JSON
{
  "hex": "#74702a",
  "rgb": {
    "r": 116,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 56.757,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.0913,
    "h": 106
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#74702A
secondary
#5458A6
accent
#59D651
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #74702A

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

Preview Lab → · Contrast checker → · Palette generator →

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