#7C791E#7C791E

#7C791E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.109 H 107.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C791E
RGBrgb(124, 121, 30)
HSLhsl(58, 61%, 30%)
HSVhsv(58, 76%, 49%)
CMYKcmyk(0%, 2.4%, 75.8%, 51.4%)
CIE-LABlab(49.56, -10.10, 47.10)
CIE-LCHlch(49.56, 48.17, 102.11°)
OKLaboklab(56.17% -0.0328 0.1038)
OKLCHoklch(56.17% 0.109 107.5)
XYZxyz(15.3845, 18.0541, 3.9024)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C791E #1E217C
analogous
#7C4A1E #7C791E #507C1E
triadic
#7C791E #1E7C79 #791E7C
tetradic
#7C791E #1E7C4A #1E217C #7C1E50
square
#7C791E #1E7C4A #1E217C #7C1E50
split-complementary
#7C791E #1E507C #4A1E7C
monochromatic
#191906 #4B4912 #7C791E #ADA92A #D1CD43

Accessibility & contrast

On white

4.55
#7C791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7C791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C791E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C791E#FFFFFF#000000##000000
##7C791E1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#857168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c791e;
/* rgb */ color: rgb(124, 121, 30);
/* oklch */ color: oklch(56.2% 0.109 107.5);
Tailwind
colors: {
  custom: {
    50: '#a59f61',
    500: '#7c791e',
    950: '#000000',
  },
}
SCSS
$custom: #7c791e;
$custom-light: #a59f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c791e",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 58.085,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.10884,
    "h": 107.5
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#7C791E
secondary
#464AAF
accent
#49E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C791E

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

Preview Lab → · Contrast checker → · Palette generator →

#7C791E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva