#74811D#74811D

#74811D is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.121 H 116.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#74811D
RGBrgb(116, 129, 29)
HSLhsl(68, 63%, 31%)
HSVhsv(68, 78%, 51%)
CMYKcmyk(10.1%, 0%, 77.5%, 49.4%)
CIE-LABlab(51.27, -18.11, 48.83)
CIE-LCHlch(51.27, 52.08, 110.35°)
OKLaboklab(57.37% -0.0547 0.1076)
OKLCHoklch(57.37% 0.121 116.9)
XYZxyz(15.2749, 19.5024, 4.1218)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74811D #2A1D81
analogous
#815C1D #74811D #42811D
triadic
#74811D #1D7481 #811D74
tetradic
#74811D #1D815C #2A1D81 #811D42
square
#74811D #1D815C #2A1D81 #811D42
split-complementary
#74811D #1D4281 #5C1D81
monochromatic
#1A1D07 #474F12 #74811D #A1B328 #C2D544

Accessibility & contrast

On white

4.29
#74811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#74811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74811D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74811D#FFFFFF#000000##000000
##74811D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#7C796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #74811d;
/* rgb */ color: rgb(116, 129, 29);
/* oklch */ color: oklch(57.4% 0.121 116.9);
Tailwind
colors: {
  custom: {
    50: '#9fa562',
    500: '#74811d',
    950: '#000000',
  },
}
SCSS
$custom: #74811d;
$custom-light: #9fa562;
$custom-dark: #000000;
JSON
{
  "hex": "#74811d",
  "rgb": {
    "r": 116,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 67.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.12066,
    "h": 116.9
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#74811D
secondary
#5446B4
accent
#41E657
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74811D

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

Preview Lab → · Contrast checker → · Palette generator →

#74811D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva