#74841D#74841D

#74841D is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.1% C 0.124 H 118.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#74841D
RGBrgb(116, 132, 29)
HSLhsl(69, 64%, 32%)
HSVhsv(69, 78%, 52%)
CMYKcmyk(12.1%, 0%, 78%, 48.2%)
CIE-LABlab(52.18, -19.68, 49.68)
CIE-LCHlch(52.18, 53.43, 111.61°)
OKLaboklab(58.1% -0.059 0.1094)
OKLCHoklch(58.1% 0.124 118.3)
XYZxyz(15.6759, 20.3044, 4.2555)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74841D #2D1D84
analogous
#84611D #74841D #41841D
triadic
#74841D #1D7484 #841D74
tetradic
#74841D #1D8461 #2D1D84 #841D41
square
#74841D #1D8461 #2D1D84 #841D41
split-complementary
#74841D #1D4184 #611D84
monochromatic
#1C2007 #485212 #74841D #A0B628 #C0D645

Accessibility & contrast

On white

4.15
#74841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#74841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74841D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74841D#FFFFFF#000000##000000
##74841D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C04
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#7B7C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74841d;
/* rgb */ color: rgb(116, 132, 29);
/* oklch */ color: oklch(58.1% 0.124 118.3);
Tailwind
colors: {
  custom: {
    50: '#9fa762',
    500: '#74841d',
    950: '#000000',
  },
}
SCSS
$custom: #74841d;
$custom-light: #9fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#74841d",
  "rgb": {
    "r": 116,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 69.32,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.12426,
    "h": 118.3
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#74841D
secondary
#5746B7
accent
#41E75B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74841D

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

Preview Lab → · Contrast checker → · Palette generator →

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