#7C792A#7C792A

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

Color values

HEX#7C792A
RGBrgb(124, 121, 42)
HSLhsl(58, 49%, 33%)
HSVhsv(58, 66%, 49%)
CMYKcmyk(0%, 2.4%, 66.1%, 51.4%)
CIE-LABlab(49.65, -9.41, 42.20)
CIE-LCHlch(49.65, 43.24, 102.56°)
OKLaboklab(56.27% -0.0295 0.0956)
OKLCHoklch(56.27% 0.1 107.1)
XYZxyz(15.5680, 18.1275, 4.8689)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C792A #2A2D7C
analogous
#7C502A #7C792A #567C2A
triadic
#7C792A #2A7C79 #792A7C
tetradic
#7C792A #2A7C50 #2A2D7C #7C2A56
square
#7C792A #2A7C50 #2A2D7C #7C2A56
split-complementary
#7C792A #2A567C #502A7C
monochromatic
#21200B #4E4C1B #7C792A #AAA639 #C7C359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C792A#FFFFFF#000000##000000
##7C792A1.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)
#837420
Deuteranopia (green-blind)
#85772F
Tritanopia (blue-blind)
#857169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c792a;
/* rgb */ color: rgb(124, 121, 42);
/* oklch */ color: oklch(56.3% 0.100 107.1);
Tailwind
colors: {
  custom: {
    50: '#a49f68',
    500: '#7c792a',
    950: '#000000',
  },
}
SCSS
$custom: #7c792a;
$custom-light: #a49f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c792a",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 57.805,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.10008,
    "h": 107.1
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#7C792A
secondary
#5558AD
accent
#54D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7C792A

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

Preview Lab → · Contrast checker → · Palette generator →

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