#74731B#74731B

#74731B is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.0% C 0.106 H 108.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#74731B
RGBrgb(116, 115, 27)
HSLhsl(59, 62%, 28%)
HSVhsv(59, 77%, 45%)
CMYKcmyk(0%, 0.9%, 76.7%, 54.5%)
CIE-LABlab(47.05, -10.67, 45.58)
CIE-LCHlch(47.05, 46.81, 103.17°)
OKLaboklab(53.98% -0.0342 0.1003)
OKLCHoklch(53.98% 0.106 108.8)
XYZxyz(13.5315, 16.0540, 3.4226)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74731B #1B1C74
analogous
#74461B #74731B #48741B
triadic
#74731B #1B7473 #731B74
tetradic
#74731B #1B7446 #1B1C74 #741B48
square
#74731B #1B7446 #1B1C74 #741B48
split-complementary
#74731B #1B4874 #461B74
monochromatic
#191906 #42420F #74731B #A6A427 #D1CF39

Accessibility & contrast

On white

4.99
#74731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#74731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74731B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74731B#FFFFFF#000000##FFFFFF
##74731B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#7D6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #74731b;
/* rgb */ color: rgb(116, 115, 27);
/* oklch */ color: oklch(54.0% 0.106 108.8);
Tailwind
colors: {
  custom: {
    50: '#9f9b5f',
    500: '#74731b',
    950: '#000000',
  },
}
SCSS
$custom: #74731b;
$custom-light: #9f9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#74731b",
  "rgb": {
    "r": 116,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 59.326,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.10596,
    "h": 108.8
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#74731B
secondary
#4243A9
accent
#44E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74731B

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

Preview Lab → · Contrast checker → · Palette generator →

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