#74701B#74701B

#74701B is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.3% C 0.103 H 106.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#74701B
RGBrgb(116, 112, 27)
HSLhsl(57, 62%, 28%)
HSVhsv(57, 77%, 45%)
CMYKcmyk(0%, 3.4%, 76.7%, 54.5%)
CIE-LABlab(46.15, -9.00, 44.74)
CIE-LCHlch(46.15, 45.63, 101.37°)
OKLaboklab(53.27% -0.0295 0.0985)
OKLCHoklch(53.27% 0.103 106.7)
XYZxyz(13.1950, 15.3809, 3.3105)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74701B #1B1F74
analogous
#74431B #74701B #4B741B
triadic
#74701B #1B7470 #701B74
tetradic
#74701B #1B7443 #1B1F74 #741B4B
square
#74701B #1B7443 #1B1F74 #741B4B
split-complementary
#74701B #1B4B74 #431B74
monochromatic
#191806 #42400F #74701B #A6A027 #D1CA39

Accessibility & contrast

On white

5.15
#74701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#74701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74701B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74701B#FFFFFF#000000##FFFFFF
##74701B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0A
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#7D6860
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #74701b;
/* rgb */ color: rgb(116, 112, 27);
/* oklch */ color: oklch(53.3% 0.103 106.7);
Tailwind
colors: {
  custom: {
    50: '#9f985e',
    500: '#74701b',
    950: '#000000',
  },
}
SCSS
$custom: #74701b;
$custom-light: #9f985e;
$custom-dark: #000000;
JSON
{
  "hex": "#74701b",
  "rgb": {
    "r": 116,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 57.303,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.10284,
    "h": 106.7
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#74701B
secondary
#4247A9
accent
#4AE542
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #74701B

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

Preview Lab → · Contrast checker → · Palette generator →

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