#74841F#74841F

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

Color values

HEX#74841F
RGBrgb(116, 132, 31)
HSLhsl(70, 62%, 32%)
HSVhsv(70, 77%, 52%)
CMYKcmyk(12.1%, 0%, 76.5%, 48.2%)
CIE-LABlab(52.19, -19.58, 48.99)
CIE-LCHlch(52.19, 52.76, 111.78°)
OKLaboklab(58.12% -0.0585 0.1083)
OKLCHoklch(58.12% 0.123 118.4)
XYZxyz(15.7014, 20.3146, 4.3900)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74841F #2F1F84
analogous
#84621F #74841F #42841F
triadic
#74841F #1F7484 #841F74
tetradic
#74841F #1F8462 #2F1F84 #841F42
square
#74841F #1F8462 #2F1F84 #841F42
split-complementary
#74841F #1F4284 #621F84
monochromatic
#1D2108 #485213 #74841F #A0B62B #BED449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74841F#FFFFFF#000000##000000
##74841F1.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)
#8D7C09
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#7B7C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74841f;
/* rgb */ color: rgb(116, 132, 31);
/* oklch */ color: oklch(58.1% 0.123 118.4);
Tailwind
colors: {
  custom: {
    50: '#9fa763',
    500: '#74841f',
    950: '#000000',
  },
}
SCSS
$custom: #74841f;
$custom-light: #9fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#74841f",
  "rgb": {
    "r": 116,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 69.505,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.12308,
    "h": 118.4
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#74841F
secondary
#5A48B7
accent
#43E55C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #74841F

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

Preview Lab → · Contrast checker → · Palette generator →

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