#74771F#74771F

#74771F is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.0% C 0.108 H 111.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#74771F
RGBrgb(116, 119, 31)
HSLhsl(62, 59%, 29%)
HSVhsv(62, 74%, 47%)
CMYKcmyk(2.5%, 0%, 73.9%, 53.3%)
CIE-LABlab(48.27, -12.66, 45.23)
CIE-LCHlch(48.27, 46.97, 105.64°)
OKLaboklab(54.97% -0.0393 0.1003)
OKLCHoklch(54.97% 0.108 111.4)
XYZxyz(14.0471, 17.0059, 3.8386)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74771F #221F77
analogous
#774E1F #74771F #48771F
triadic
#74771F #1F7477 #771F74
tetradic
#74771F #1F774E #221F77 #771F48
square
#74771F #1F774E #221F77 #771F48
split-complementary
#74771F #1F4877 #4E1F77
monochromatic
#181806 #454612 #74771F #A3A82C #C9CE43

Accessibility & contrast

On white

4.77
#74771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#74771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74771F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74771F#FFFFFF#000000##FFFFFF
##74771F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710F
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#7C6F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #74771f;
/* rgb */ color: rgb(116, 119, 31);
/* oklch */ color: oklch(55.0% 0.108 111.4);
Tailwind
colors: {
  custom: {
    50: '#9f9e61',
    500: '#74771f',
    950: '#000000',
  },
}
SCSS
$custom: #74771f;
$custom-light: #9f9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#74771f",
  "rgb": {
    "r": 116,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 62.045,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.10777,
    "h": 111.4
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#74771F
secondary
#4B47AB
accent
#46E24B
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #74771F

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

Preview Lab → · Contrast checker → · Palette generator →

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