#74811A#74811A

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

Color values

HEX#74811A
RGBrgb(116, 129, 26)
HSLhsl(68, 66%, 30%)
HSVhsv(68, 80%, 51%)
CMYKcmyk(10.1%, 0%, 79.8%, 49.4%)
CIE-LABlab(51.25, -18.25, 49.83)
CIE-LCHlch(51.25, 53.06, 110.12°)
OKLaboklab(57.35% -0.0553 0.1091)
OKLCHoklch(57.35% 0.122 116.9)
XYZxyz(15.2396, 19.4883, 3.9359)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74811A #271A81
analogous
#815A1A #74811A #40811A
triadic
#74811A #1A7481 #811A74
tetradic
#74811A #1A815A #271A81 #811A40
square
#74811A #1A815A #271A81 #811A40
split-complementary
#74811A #1A4081 #5A1A81
monochromatic
#181B05 #464E10 #74811A #A2B424 #C4D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74811A#FFFFFF#000000##000000
##74811A1.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)
#8A7A00
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#7C796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #74811a;
/* rgb */ color: rgb(116, 129, 26);
/* oklch */ color: oklch(57.4% 0.122 116.9);
Tailwind
colors: {
  custom: {
    50: '#9fa560',
    500: '#74811a',
    950: '#000000',
  },
}
SCSS
$custom: #74811a;
$custom-light: #9fa560;
$custom-dark: #000000;
JSON
{
  "hex": "#74811a",
  "rgb": {
    "r": 116,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 67.573,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.12235,
    "h": 116.9
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#74811A
secondary
#5042B5
accent
#3EE954
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #74811A

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

Preview Lab → · Contrast checker → · Palette generator →

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