#74701F#74701F

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

Color values

HEX#74701F
RGBrgb(116, 112, 31)
HSLhsl(57, 58%, 29%)
HSVhsv(57, 73%, 45%)
CMYKcmyk(0%, 3.4%, 73.3%, 54.5%)
CIE-LABlab(46.18, -8.79, 43.19)
CIE-LCHlch(46.18, 44.07, 101.50°)
OKLaboklab(53.3% -0.0285 0.096)
OKLCHoklch(53.3% 0.1 106.5)
XYZxyz(13.2445, 15.4007, 3.5710)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74701F #1F2374
analogous
#74461F #74701F #4E741F
triadic
#74701F #1F7470 #701F74
tetradic
#74701F #1F7446 #1F2374 #741F4E
square
#74701F #1F7446 #1F2374 #741F4E
split-complementary
#74701F #1F4E74 #461F74
monochromatic
#181706 #444112 #74701F #A49F2C #CCC641

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74701F#FFFFFF#000000##FFFFFF
##74701F1.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)
#7A6C12
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#7D6860
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #74701f;
/* rgb */ color: rgb(116, 112, 31);
/* oklch */ color: oklch(53.3% 0.100 106.5);
Tailwind
colors: {
  custom: {
    50: '#9f9861',
    500: '#74701f',
    950: '#000000',
  },
}
SCSS
$custom: #74701f;
$custom-light: #9f9861;
$custom-dark: #000000;
JSON
{
  "hex": "#74701f",
  "rgb": {
    "r": 116,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 57.176,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.533,
    "c": 0.10016,
    "h": 106.5
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#74701F
secondary
#474CA8
accent
#4EE147
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #74701F

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

Preview Lab → · Contrast checker → · Palette generator →

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