#74771C#74771C

#74771C 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.77:1 contrast (WCAG AA passes).

Color values

HEX#74771C
RGBrgb(116, 119, 28)
HSLhsl(62, 62%, 29%)
HSVhsv(62, 76%, 47%)
CMYKcmyk(2.5%, 0%, 76.5%, 53.3%)
CIE-LABlab(48.25, -12.82, 46.34)
CIE-LCHlch(48.25, 48.08, 105.46°)
OKLaboklab(54.95% -0.0401 0.1021)
OKLCHoklch(54.95% 0.11 111.4)
XYZxyz(14.0094, 16.9909, 3.6400)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74771C #1F1C77
analogous
#774D1C #74771C #47771C
triadic
#74771C #1C7477 #771C74
tetradic
#74771C #1C774D #1F1C77 #771C47
square
#74771C #1C774D #1F1C77 #771C47
split-complementary
#74771C #1C4777 #4D1C77
monochromatic
#181906 #444510 #74771C #A4A928 #CCD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74771C#FFFFFF#000000##FFFFFF
##74771C1.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)
#817109
Deuteranopia (green-blind)
#817423
Tritanopia (blue-blind)
#7C6F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #74771c;
/* rgb */ color: rgb(116, 119, 28);
/* oklch */ color: oklch(54.9% 0.110 111.4);
Tailwind
colors: {
  custom: {
    50: '#9f9e60',
    500: '#74771c',
    950: '#000000',
  },
}
SCSS
$custom: #74771c;
$custom-light: #9f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#74771c",
  "rgb": {
    "r": 116,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 61.978,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.1097,
    "h": 111.4
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#74771C
secondary
#4744AB
accent
#43E548
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74771C

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

Preview Lab → · Contrast checker → · Palette generator →

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