#74851B#74851B

#74851B 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#74851B
RGBrgb(116, 133, 27)
HSLhsl(70, 66%, 31%)
HSVhsv(70, 80%, 52%)
CMYKcmyk(12.8%, 0%, 79.7%, 47.8%)
CIE-LABlab(52.47, -20.29, 50.62)
CIE-LCHlch(52.47, 54.53, 111.84°)
OKLaboklab(58.34% -0.0608 0.111)
OKLCHoklch(58.34% 0.127 118.7)
XYZxyz(15.7882, 20.5673, 4.1749)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74851B #2C1B85
analogous
#85611B #74851B #3F851B
triadic
#74851B #1B7485 #851B74
tetradic
#74851B #1B8561 #2C1B85 #851B3F
square
#74851B #1B8561 #2C1B85 #851B3F
split-complementary
#74851B #1B3F85 #611B85
monochromatic
#1B1F06 #485211 #74851B #A0B825 #C0D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74851B#FFFFFF#000000##000000
##74851B1.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)
#8C7E25
Tritanopia (blue-blind)
#7B7D71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #74851b;
/* rgb */ color: rgb(116, 133, 27);
/* oklch */ color: oklch(58.3% 0.127 118.7);
Tailwind
colors: {
  custom: {
    50: '#9fa861',
    500: '#74851b',
    950: '#000000',
  },
}
SCSS
$custom: #74851b;
$custom-light: #9fa861;
$custom-dark: #000000;
JSON
{
  "hex": "#74851b",
  "rgb": {
    "r": 116,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 69.623,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.12656,
    "h": 118.7
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#74851B
secondary
#5644B8
accent
#3FE95A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74851B

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

Preview Lab → · Contrast checker → · Palette generator →

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