#74851D#74851D

#74851D is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.3% C 0.125 H 118.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#74851D
RGBrgb(116, 133, 29)
HSLhsl(70, 64%, 32%)
HSVhsv(70, 78%, 52%)
CMYKcmyk(12.8%, 0%, 78.2%, 47.8%)
CIE-LABlab(52.48, -20.19, 49.96)
CIE-LCHlch(52.48, 53.89, 112.01°)
OKLaboklab(58.35% -0.0604 0.11)
OKLCHoklch(58.35% 0.125 118.8)
XYZxyz(15.8121, 20.5769, 4.3009)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74851D #2E1D85
analogous
#85621D #74851D #40851D
triadic
#74851D #1D7485 #851D74
tetradic
#74851D #1D8562 #2E1D85 #851D40
square
#74851D #1D8562 #2E1D85 #851D40
split-complementary
#74851D #1D4085 #621D85
monochromatic
#1C2107 #485312 #74851D #A0B728 #BFD746

Accessibility & contrast

On white

4.11
#74851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#74851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74851D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74851D#FFFFFF#000000##000000
##74851D1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D03
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#7B7D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #74851d;
/* rgb */ color: rgb(116, 133, 29);
/* oklch */ color: oklch(58.3% 0.125 118.8);
Tailwind
colors: {
  custom: {
    50: '#9fa862',
    500: '#74851d',
    950: '#000000',
  },
}
SCSS
$custom: #74851d;
$custom-light: #9fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#74851d",
  "rgb": {
    "r": 116,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 69.808,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.12547,
    "h": 118.8
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#74851D
secondary
#5946B8
accent
#41E75C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #74851D

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

Preview Lab → · Contrast checker → · Palette generator →

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