#74801F#74801F

#74801F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.1% C 0.118 H 116.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#74801F
RGBrgb(116, 128, 31)
HSLhsl(67, 61%, 31%)
HSVhsv(67, 76%, 50%)
CMYKcmyk(9.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(50.98, -17.49, 47.84)
CIE-LCHlch(50.98, 50.93, 110.08°)
OKLaboklab(57.14% -0.0528 0.1058)
OKLCHoklch(57.14% 0.118 116.5)
XYZxyz(15.1693, 19.2505, 4.2127)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74801F #2B1F80
analogous
#805B1F #74801F #43801F
triadic
#74801F #1F7480 #801F74
tetradic
#74801F #1F805B #2B1F80 #801F43
square
#74801F #1F805B #2B1F80 #801F43
split-complementary
#74801F #1F4380 #5B1F80
monochromatic
#1B1D07 #474F13 #74801F #A1B12B #C1D247

Accessibility & contrast

On white

4.33
#74801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#74801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74801F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74801F#FFFFFF#000000##000000
##74801F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#7C786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #74801f;
/* rgb */ color: rgb(116, 128, 31);
/* oklch */ color: oklch(57.1% 0.118 116.5);
Tailwind
colors: {
  custom: {
    50: '#9fa462',
    500: '#74801f',
    950: '#000000',
  },
}
SCSS
$custom: #74801f;
$custom-light: #9fa462;
$custom-dark: #000000;
JSON
{
  "hex": "#74801f",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 67.423,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.11827,
    "h": 116.5
  },
  "luminance": 0.1925
}

Semantic roles & 50–950 ramp

primary
#74801F
secondary
#5548B3
accent
#44E458
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74801F

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

Preview Lab → · Contrast checker → · Palette generator →

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