#7C792E#7C792E

#7C792E is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.097 H 107.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C792E
RGBrgb(124, 121, 46)
HSLhsl(58, 46%, 33%)
HSVhsv(58, 63%, 49%)
CMYKcmyk(0%, 2.4%, 62.9%, 51.4%)
CIE-LABlab(49.69, -9.12, 40.39)
CIE-LCHlch(49.69, 41.41, 102.73°)
OKLaboklab(56.31% -0.0282 0.0924)
OKLCHoklch(56.31% 0.097 107)
XYZxyz(15.6432, 18.1576, 5.2650)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C792E #2E317C
analogous
#7C522E #7C792E #587C2E
triadic
#7C792E #2E7C79 #792E7C
tetradic
#7C792E #2E7C52 #2E317C #7C2E58
square
#7C792E #2E7C52 #2E317C #7C2E58
split-complementary
#7C792E #2E587C #522E7C
monochromatic
#23220D #4F4D1D #7C792E #A9A53F #C4C060

Accessibility & contrast

On white

4.53
#7C792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7C792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C792E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C792E#FFFFFF#000000##000000
##7C792E1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#847832
Tritanopia (blue-blind)
#857169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c792e;
/* rgb */ color: rgb(124, 121, 46);
/* oklch */ color: oklch(56.3% 0.097 107.0);
Tailwind
colors: {
  custom: {
    50: '#a49f6a',
    500: '#7c792e',
    950: '#000000',
  },
}
SCSS
$custom: #7c792e;
$custom-light: #a49f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c792e",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 57.692,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.09664,
    "h": 107
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#7C792E
secondary
#5B5EAB
accent
#57D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C792E

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

Preview Lab → · Contrast checker → · Palette generator →

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