#74781A#74781A

#74781A is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.112 H 112.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#74781A
RGBrgb(116, 120, 26)
HSLhsl(63, 64%, 29%)
HSVhsv(63, 78%, 47%)
CMYKcmyk(3.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(48.54, -13.46, 47.33)
CIE-LCHlch(48.54, 49.21, 105.87°)
OKLaboklab(55.17% -0.042 0.1038)
OKLCHoklch(55.17% 0.112 112)
XYZxyz(14.1059, 17.2209, 3.5580)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74781A #1E1A78
analogous
#784D1A #74781A #45781A
triadic
#74781A #1A7478 #781A74
tetradic
#74781A #1A784D #1E1A78 #781A45
square
#74781A #1A784D #1E1A78 #781A45
split-complementary
#74781A #1A4578 #4D1A78
monochromatic
#181905 #43460F #74781A #A5AA25 #CDD438

Accessibility & contrast

On white

4.73
#74781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#74781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74781A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74781A#FFFFFF#000000##FFFFFF
##74781A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#7C7066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #74781a;
/* rgb */ color: rgb(116, 120, 26);
/* oklch */ color: oklch(55.2% 0.112 112.0);
Tailwind
colors: {
  custom: {
    50: '#9f9e5f',
    500: '#74781a',
    950: '#000000',
  },
}
SCSS
$custom: #74781a;
$custom-light: #9f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#74781a",
  "rgb": {
    "r": 116,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 62.553,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.11201,
    "h": 112
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#74781A
secondary
#4641AC
accent
#40E748
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74781A

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

Preview Lab → · Contrast checker → · Palette generator →

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