#74771A#74771A

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

Color values

HEX#74771A
RGBrgb(116, 119, 26)
HSLhsl(62, 64%, 28%)
HSVhsv(62, 78%, 47%)
CMYKcmyk(2.5%, 0%, 78.2%, 53.3%)
CIE-LABlab(48.24, -12.91, 47.05)
CIE-LCHlch(48.24, 48.79, 105.34°)
OKLaboklab(54.93% -0.0405 0.1032)
OKLCHoklch(54.93% 0.111 111.4)
XYZxyz(13.9862, 16.9816, 3.5181)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74771A #1D1A77
analogous
#774B1A #74771A #45771A
triadic
#74771A #1A7477 #771A74
tetradic
#74771A #1A774B #1D1A77 #771A45
square
#74771A #1A774B #1D1A77 #771A45
split-complementary
#74771A #1A4577 #4B1A77
monochromatic
#181905 #43450F #74771A #A5A925 #CED338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74771A#FFFFFF#000000##FFFFFF
##74771A1.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)
#817104
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#7C6F66
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #74771a;
/* rgb */ color: rgb(116, 119, 26);
/* oklch */ color: oklch(54.9% 0.111 111.4);
Tailwind
colors: {
  custom: {
    50: '#9f9e5f',
    500: '#74771a',
    950: '#000000',
  },
}
SCSS
$custom: #74771a;
$custom-light: #9f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#74771a",
  "rgb": {
    "r": 116,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 61.935,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.1109,
    "h": 111.4
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#74771A
secondary
#4541AC
accent
#41E746
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74771A

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

Preview Lab → · Contrast checker → · Palette generator →

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