#7E792D#7E792D

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

Color values

HEX#7E792D
RGBrgb(126, 121, 45)
HSLhsl(56, 47%, 34%)
HSVhsv(56, 64%, 49%)
CMYKcmyk(0%, 4%, 64.3%, 50.6%)
CIE-LABlab(49.86, -8.28, 41.10)
CIE-LCHlch(49.86, 41.92, 101.39°)
OKLaboklab(56.49% -0.0261 0.0937)
OKLCHoklch(56.49% 0.097 105.5)
XYZxyz(15.9158, 18.3004, 5.1761)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E792D #2D327E
analogous
#7E502D #7E792D #5A7E2D
triadic
#7E792D #2D7E79 #792D7E
tetradic
#7E792D #2D7E50 #2D327E #7E2D5A
square
#7E792D #2D7E50 #2D327E #7E2D5A
split-complementary
#7E792D #2D5A7E #502D7E
monochromatic
#24220D #514E1D #7E792D #ABA43D #C6C05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E792D#FFFFFF#000000##000000
##7E792D1.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)
#837524
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#877169
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e792d;
/* rgb */ color: rgb(126, 121, 45);
/* oklch */ color: oklch(56.5% 0.097 105.5);
Tailwind
colors: {
  custom: {
    50: '#a69f6a',
    500: '#7e792d',
    950: '#000000',
  },
}
SCSS
$custom: #7e792d;
$custom-light: #a69f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e792d",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 56.296,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.09729,
    "h": 105.5
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#7E792D
secondary
#5A5FAC
accent
#59D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E792D

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

Preview Lab → · Contrast checker → · Palette generator →

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