#7C791D#7C791D

#7C791D is a mid, moderate yellow. Relative luminance 0.180; 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#7C791D
RGBrgb(124, 121, 29)
HSLhsl(58, 62%, 30%)
HSVhsv(58, 77%, 49%)
CMYKcmyk(0%, 2.4%, 76.6%, 51.4%)
CIE-LABlab(49.56, -10.15, 47.46)
CIE-LCHlch(49.56, 48.53, 102.07°)
OKLaboklab(56.17% -0.033 0.1044)
OKLCHoklch(56.17% 0.109 107.5)
XYZxyz(15.3719, 18.0491, 3.8362)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C791D #1D207C
analogous
#7C491D #7C791D #507C1D
triadic
#7C791D #1D7C79 #791D7C
tetradic
#7C791D #1D7C49 #1D207C #7C1D50
square
#7C791D #1D7C49 #1D207C #7C1D50
split-complementary
#7C791D #1D507C #491D7C
monochromatic
#191806 #4A4911 #7C791D #AEA929 #D3CE41

Accessibility & contrast

On white

4.56
#7C791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C791D#FFFFFF#000000##000000
##7C791D1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#857167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c791d;
/* rgb */ color: rgb(124, 121, 29);
/* oklch */ color: oklch(56.2% 0.109 107.5);
Tailwind
colors: {
  custom: {
    50: '#a59f61',
    500: '#7c791d',
    950: '#000000',
  },
}
SCSS
$custom: #7c791d;
$custom-light: #a59f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c791d",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 58.105,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.56165,
    "c": 0.10946,
    "h": 107.5
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#7C791D
secondary
#4549B0
accent
#48E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C791D

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

Preview Lab → · Contrast checker → · Palette generator →

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