#7E792A#7E792A

#7E792A is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.100 H 105.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E792A
RGBrgb(126, 121, 42)
HSLhsl(56, 50%, 33%)
HSVhsv(56, 67%, 49%)
CMYKcmyk(0%, 4%, 66.7%, 50.6%)
CIE-LABlab(49.83, -8.49, 42.45)
CIE-LCHlch(49.83, 43.29, 101.31°)
OKLaboklab(56.46% -0.027 0.0961)
OKLCHoklch(56.46% 0.1 105.7)
XYZxyz(15.8600, 18.2781, 4.8826)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E792A #2A2F7E
analogous
#7E4F2A #7E792A #597E2A
triadic
#7E792A #2A7E79 #792A7E
tetradic
#7E792A #2A7E4F #2A2F7E #7E2A59
square
#7E792A #2A7E4F #2A2F7E #7E2A59
split-complementary
#7E792A #2A597E #4F2A7E
monochromatic
#22210B #504D1B #7E792A #ACA539 #C8C25A

Accessibility & contrast

On white

4.51
#7E792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E792A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E792A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E792A#FFFFFF#000000##000000
##7E792A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837520
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#877169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e792a;
/* rgb */ color: rgb(126, 121, 42);
/* oklch */ color: oklch(56.5% 0.100 105.7);
Tailwind
colors: {
  custom: {
    50: '#a69f68',
    500: '#7e792a',
    950: '#000000',
  },
}
SCSS
$custom: #7e792a;
$custom-light: #a69f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e792a",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 56.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.09982,
    "h": 105.7
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#7E792A
secondary
#565BAE
accent
#57DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E792A

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

Preview Lab → · Contrast checker → · Palette generator →

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