#7C792D#7C792D

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

Color values

HEX#7C792D
RGBrgb(124, 121, 45)
HSLhsl(58, 47%, 33%)
HSVhsv(58, 64%, 49%)
CMYKcmyk(0%, 2.4%, 63.7%, 51.4%)
CIE-LABlab(49.68, -9.20, 40.85)
CIE-LCHlch(49.68, 41.87, 102.69°)
OKLaboklab(56.3% -0.0285 0.0933)
OKLCHoklch(56.3% 0.098 107)
XYZxyz(15.6237, 18.1498, 5.1624)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C792D #2D307C
analogous
#7C512D #7C792D #577C2D
triadic
#7C792D #2D7C79 #792D7C
tetradic
#7C792D #2D7C51 #2D307C #7C2D57
square
#7C792D #2D7C51 #2D307C #7C2D57
split-complementary
#7C792D #2D577C #512D7C
monochromatic
#22210C #4F4D1D #7C792D #A9A53D #C5C15F

Accessibility & contrast

On white

4.54
#7C792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C792D#FFFFFF#000000##000000
##7C792D1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c792d;
/* rgb */ color: rgb(124, 121, 45);
/* oklch */ color: oklch(56.3% 0.098 107.0);
Tailwind
colors: {
  custom: {
    50: '#a49f6a',
    500: '#7c792d',
    950: '#000000',
  },
}
SCSS
$custom: #7c792d;
$custom-light: #a49f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c792d",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 57.722,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.09752,
    "h": 107
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#7C792D
secondary
#5A5DAB
accent
#56D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C792D

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

Preview Lab → · Contrast checker → · Palette generator →

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