#74731F#74731F

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

Color values

HEX#74731F
RGBrgb(116, 115, 31)
HSLhsl(59, 58%, 29%)
HSVhsv(59, 73%, 45%)
CMYKcmyk(0%, 0.9%, 73.3%, 54.5%)
CIE-LABlab(47.07, -10.46, 44.06)
CIE-LCHlch(47.07, 45.29, 103.36°)
OKLaboklab(54.01% -0.0332 0.0979)
OKLCHoklch(54.01% 0.103 108.7)
XYZxyz(13.5810, 16.0738, 3.6832)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74731F #1F2074
analogous
#74491F #74731F #4B741F
triadic
#74731F #1F7473 #731F74
tetradic
#74731F #1F7449 #1F2074 #741F4B
square
#74731F #1F7449 #1F2074 #741F4B
split-complementary
#74731F #1F4B74 #491F74
monochromatic
#181806 #444312 #74731F #A4A32C #CCCB41

Accessibility & contrast

On white

4.98
#74731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #74731F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74731F#FFFFFF#000000##FFFFFF
##74731F1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#7D6B63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #74731f;
/* rgb */ color: rgb(116, 115, 31);
/* oklch */ color: oklch(54.0% 0.103 108.7);
Tailwind
colors: {
  custom: {
    50: '#9f9b61',
    500: '#74731f',
    950: '#000000',
  },
}
SCSS
$custom: #74731f;
$custom-light: #9f9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#74731f",
  "rgb": {
    "r": 116,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 59.294,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.10334,
    "h": 108.7
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#74731F
secondary
#4748A8
accent
#49E147
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74731F

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

Preview Lab → · Contrast checker → · Palette generator →

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