#74771B#74771B

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

Color values

HEX#74771B
RGBrgb(116, 119, 27)
HSLhsl(62, 63%, 29%)
HSVhsv(62, 77%, 47%)
CMYKcmyk(2.5%, 0%, 77.3%, 53.3%)
CIE-LABlab(48.24, -12.86, 46.70)
CIE-LCHlch(48.24, 48.44, 105.40°)
OKLaboklab(54.94% -0.0403 0.1027)
OKLCHoklch(54.94% 0.11 111.4)
XYZxyz(13.9976, 16.9862, 3.5780)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74771B #1E1B77
analogous
#774C1B #74771B #46771B
triadic
#74771B #1B7477 #771B74
tetradic
#74771B #1B774C #1E1B77 #771B46
square
#74771B #1B774C #1E1B77 #771B46
split-complementary
#74771B #1B4677 #4C1B77
monochromatic
#181906 #434510 #74771B #A5A926 #CDD23A

Accessibility & contrast

On white

4.78
#74771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #74771B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74771B#FFFFFF#000000##FFFFFF
##74771B1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817107
Deuteranopia (green-blind)
#817423
Tritanopia (blue-blind)
#7C6F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #74771b;
/* rgb */ color: rgb(116, 119, 27);
/* oklch */ color: oklch(54.9% 0.110 111.4);
Tailwind
colors: {
  custom: {
    50: '#9f9e5f',
    500: '#74771b',
    950: '#000000',
  },
}
SCSS
$custom: #74771b;
$custom-light: #9f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#74771b",
  "rgb": {
    "r": 116,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 61.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.11031,
    "h": 111.4
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#74771B
secondary
#4642AB
accent
#42E647
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74771B

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

Preview Lab → · Contrast checker → · Palette generator →

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