#79741F#79741F

#79741F is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.7% C 0.104 H 106.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#79741F
RGBrgb(121, 116, 31)
HSLhsl(57, 59%, 30%)
HSVhsv(57, 74%, 47%)
CMYKcmyk(0%, 4.1%, 74.4%, 52.5%)
CIE-LABlab(47.82, -8.68, 44.95)
CIE-LCHlch(47.82, 45.78, 100.93°)
OKLaboklab(54.72% -0.0285 0.0996)
OKLCHoklch(54.72% 0.104 106)
XYZxyz(14.3784, 16.6552, 3.7534)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79741F #1F2479
analogous
#79471F #79741F #51791F
triadic
#79741F #1F7974 #741F79
tetradic
#79741F #1F7947 #1F2479 #791F51
square
#79741F #1F7947 #1F2479 #791F51
split-complementary
#79741F #1F5179 #471F79
monochromatic
#181706 #484513 #79741F #AAA32B #CFC743

Accessibility & contrast

On white

4.85
#79741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#79741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79741F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79741F#FFFFFF#000000##FFFFFF
##79741F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7010
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#826C63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #79741f;
/* rgb */ color: rgb(121, 116, 31);
/* oklch */ color: oklch(54.7% 0.104 106.0);
Tailwind
colors: {
  custom: {
    50: '#a39b61',
    500: '#79741f',
    950: '#000000',
  },
}
SCSS
$custom: #79741f;
$custom-light: #a39b61;
$custom-dark: #000000;
JSON
{
  "hex": "#79741f",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 56.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.10356,
    "h": 106
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#79741F
secondary
#474DAC
accent
#4EE245
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79741F

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

Preview Lab → · Contrast checker → · Palette generator →

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