#74851A#74851A

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

Color values

HEX#74851A
RGBrgb(116, 133, 26)
HSLhsl(70, 67%, 31%)
HSVhsv(70, 80%, 52%)
CMYKcmyk(12.8%, 0%, 80.5%, 47.8%)
CIE-LABlab(52.47, -20.33, 50.93)
CIE-LCHlch(52.47, 54.84, 111.76°)
OKLaboklab(58.33% -0.061 0.1115)
OKLCHoklch(58.33% 0.127 118.7)
XYZxyz(15.7768, 20.5628, 4.1150)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74851A #2B1A85
analogous
#85601A #74851A #3E851A
triadic
#74851A #1A7485 #851A74
tetradic
#74851A #1A8560 #2B1A85 #851A3E
square
#74851A #1A8560 #2B1A85 #851A3E
split-complementary
#74851A #1A3E85 #601A85
monochromatic
#1B1F06 #475210 #74851A #A1B824 #C1DA40

Accessibility & contrast

On white

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

On black

5.11
#74851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74851A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74851A#FFFFFF#000000##000000
##74851A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#7B7D71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #74851a;
/* rgb */ color: rgb(116, 133, 26);
/* oklch */ color: oklch(58.3% 0.127 118.7);
Tailwind
colors: {
  custom: {
    50: '#9fa861',
    500: '#74851a',
    950: '#000000',
  },
}
SCSS
$custom: #74851a;
$custom-light: #9fa861;
$custom-dark: #000000;
JSON
{
  "hex": "#74851a",
  "rgb": {
    "r": 116,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 69.533,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.12709,
    "h": 118.7
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

primary
#74851A
secondary
#5542B8
accent
#3EEA59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74851A

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

Preview Lab → · Contrast checker → · Palette generator →

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