#74841A#74841A

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

Color values

HEX#74841A
RGBrgb(116, 132, 26)
HSLhsl(69, 67%, 31%)
HSVhsv(69, 80%, 52%)
CMYKcmyk(12.1%, 0%, 80.3%, 48.2%)
CIE-LABlab(52.16, -19.82, 50.66)
CIE-LCHlch(52.16, 54.39, 111.37°)
OKLaboklab(58.09% -0.0596 0.1109)
OKLCHoklch(58.09% 0.126 118.3)
XYZxyz(15.6405, 20.2903, 4.0695)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74841A #2A1A84
analogous
#845F1A #74841A #3F841A
triadic
#74841A #1A7484 #841A74
tetradic
#74841A #1A845F #2A1A84 #841A3F
square
#74841A #1A845F #2A1A84 #841A3F
split-complementary
#74841A #1A3F84 #5F1A84
monochromatic
#1A1E06 #475110 #74841A #A1B724 #C2D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74841A#FFFFFF#000000##000000
##74841A1.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)
#8D7C00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#7B7C70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74841a;
/* rgb */ color: rgb(116, 132, 26);
/* oklch */ color: oklch(58.1% 0.126 118.3);
Tailwind
colors: {
  custom: {
    50: '#9fa761',
    500: '#74841a',
    950: '#000000',
  },
}
SCSS
$custom: #74841a;
$custom-light: #9fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#74841a",
  "rgb": {
    "r": 116,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 69.057,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.12589,
    "h": 118.3
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#74841A
secondary
#5442B8
accent
#3EEA58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74841A

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

Preview Lab → · Contrast checker → · Palette generator →

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