#79751C#79751C

#79751C is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.9% C 0.106 H 106.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#79751C
RGBrgb(121, 117, 28)
HSLhsl(57, 62%, 29%)
HSVhsv(57, 77%, 47%)
CMYKcmyk(0%, 3.3%, 76.9%, 52.5%)
CIE-LABlab(48.10, -9.39, 46.36)
CIE-LCHlch(48.10, 47.30, 101.45°)
OKLaboklab(54.94% -0.0308 0.102)
OKLCHoklch(54.94% 0.107 106.8)
XYZxyz(14.4566, 16.8719, 3.5935)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79751C #1C2079
analogous
#79471C #79751C #4F791C
triadic
#79751C #1C7975 #751C79
tetradic
#79751C #1C7947 #1C2079 #791C4F
square
#79751C #1C7947 #1C2079 #791C4F
split-complementary
#79751C #1C4F79 #471C79
monochromatic
#191806 #474510 #79751C #ABA528 #D2CC3D

Accessibility & contrast

On white

4.80
#79751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#79751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79751C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79751C#FFFFFF#000000##FFFFFF
##79751C1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#817423
Tritanopia (blue-blind)
#826D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #79751c;
/* rgb */ color: rgb(121, 117, 28);
/* oklch */ color: oklch(54.9% 0.106 106.8);
Tailwind
colors: {
  custom: {
    50: '#a39c60',
    500: '#79751c',
    950: '#000000',
  },
}
SCSS
$custom: #79751c;
$custom-light: #a39c60;
$custom-dark: #000000;
JSON
{
  "hex": "#79751c",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 57.419,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.1065,
    "h": 106.8
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#79751C
secondary
#4448AD
accent
#49E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #79751C

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

Preview Lab → · Contrast checker → · Palette generator →

#79751C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva