#74841C#74841C

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

Color values

HEX#74841C
RGBrgb(116, 132, 28)
HSLhsl(69, 65%, 31%)
HSVhsv(69, 79%, 52%)
CMYKcmyk(12.1%, 0%, 78.8%, 48.2%)
CIE-LABlab(52.17, -19.72, 50.01)
CIE-LCHlch(52.17, 53.76, 111.52°)
OKLaboklab(58.1% -0.0592 0.1099)
OKLCHoklch(58.1% 0.125 118.3)
XYZxyz(15.6637, 20.2995, 4.1914)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74841C #2C1C84
analogous
#84601C #74841C #40841C
triadic
#74841C #1C7484 #841C74
tetradic
#74841C #1C8460 #2C1C84 #841C40
square
#74841C #1C8460 #2C1C84 #841C40
split-complementary
#74841C #1C4084 #601C84
monochromatic
#1B1F07 #485211 #74841C #A0B627 #C0D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74841C#FFFFFF#000000##000000
##74841C1.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)
#8D7C01
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#7B7C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74841c;
/* rgb */ color: rgb(116, 132, 28);
/* oklch */ color: oklch(58.1% 0.125 118.3);
Tailwind
colors: {
  custom: {
    50: '#9fa762',
    500: '#74841c',
    950: '#000000',
  },
}
SCSS
$custom: #74841c;
$custom-light: #9fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#74841c",
  "rgb": {
    "r": 116,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 69.231,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.12482,
    "h": 118.3
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#74841C
secondary
#5645B7
accent
#40E85A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74841C

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

Preview Lab → · Contrast checker → · Palette generator →

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