#74702B#74702B

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

Color values

HEX#74702B
RGBrgb(116, 112, 43)
HSLhsl(57, 46%, 31%)
HSVhsv(57, 63%, 45%)
CMYKcmyk(0%, 3.4%, 62.9%, 54.5%)
CIE-LABlab(46.28, -8.00, 37.90)
CIE-LCHlch(46.28, 38.74, 101.92°)
OKLaboklab(53.41% -0.0248 0.0869)
OKLCHoklch(53.41% 0.09 106)
XYZxyz(13.4331, 15.4762, 4.5646)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74702B #2B2F74
analogous
#744B2B #74702B #53742B
triadic
#74702B #2B7470 #702B74
tetradic
#74702B #2B744B #2B2F74 #742B53
square
#74702B #2B744B #2B2F74 #742B53
split-complementary
#74702B #2B5374 #4B2B74
monochromatic
#1B1A0A #47451A #74702B #A19B3C #C1BB58

Accessibility & contrast

On white

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

On black

4.10
#74702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##74702B#FFFFFF#000000##FFFFFF
##74702B1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74702b;
/* rgb */ color: rgb(116, 112, 43);
/* oklch */ color: oklch(53.4% 0.090 106.0);
Tailwind
colors: {
  custom: {
    50: '#9e9867',
    500: '#74702b',
    950: '#000000',
  },
}
SCSS
$custom: #74702b;
$custom-light: #9e9867;
$custom-dark: #000000;
JSON
{
  "hex": "#74702b",
  "rgb": {
    "r": 116,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 56.712,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.09039,
    "h": 106
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#74702B
secondary
#555AA6
accent
#59D652
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0D06
muted
#7E7E7A

Preview Lab

Preview with #74702B

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

Preview Lab → · Contrast checker → · Palette generator →

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