#74811F#74811F

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

Color values

HEX#74811F
RGBrgb(116, 129, 31)
HSLhsl(68, 61%, 31%)
HSVhsv(68, 76%, 51%)
CMYKcmyk(10.1%, 0%, 76%, 49.4%)
CIE-LABlab(51.28, -18.01, 48.13)
CIE-LCHlch(51.28, 51.39, 110.52°)
OKLaboklab(57.39% -0.0542 0.1065)
OKLCHoklch(57.39% 0.119 117)
XYZxyz(15.3004, 19.5126, 4.2564)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74811F #2C1F81
analogous
#815D1F #74811F #43811F
triadic
#74811F #1F7481 #811F74
tetradic
#74811F #1F815D #2C1F81 #811F43
square
#74811F #1F815D #2C1F81 #811F43
split-complementary
#74811F #1F4381 #5D1F81
monochromatic
#1B1E07 #485013 #74811F #A0B22B #C0D347

Accessibility & contrast

On white

4.28
#74811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##74811F#FFFFFF#000000##000000
##74811F1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74811f;
/* rgb */ color: rgb(116, 129, 31);
/* oklch */ color: oklch(57.4% 0.119 117.0);
Tailwind
colors: {
  custom: {
    50: '#9fa563',
    500: '#74811f',
    950: '#000000',
  },
}
SCSS
$custom: #74811f;
$custom-light: #9fa563;
$custom-dark: #000000;
JSON
{
  "hex": "#74811f",
  "rgb": {
    "r": 116,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 67.959,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.11946,
    "h": 117
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#74811F
secondary
#5648B4
accent
#43E459
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #74811F

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

Preview Lab → · Contrast checker → · Palette generator →

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