#7E792E#7E792E

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

Color values

HEX#7E792E
RGBrgb(126, 121, 46)
HSLhsl(56, 47%, 34%)
HSVhsv(56, 63%, 49%)
CMYKcmyk(0%, 4%, 63.5%, 50.6%)
CIE-LABlab(49.87, -8.21, 40.64)
CIE-LCHlch(49.87, 41.46, 101.42°)
OKLaboklab(56.5% -0.0257 0.0929)
OKLCHoklch(56.5% 0.096 105.5)
XYZxyz(15.9352, 18.3082, 5.2787)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E792E #2E337E
analogous
#7E512E #7E792E #5B7E2E
triadic
#7E792E #2E7E79 #792E7E
tetradic
#7E792E #2E7E51 #2E337E #7E2E5B
square
#7E792E #2E7E51 #2E337E #7E2E5B
split-complementary
#7E792E #2E5B7E #512E7E
monochromatic
#24230D #514E1E #7E792E #ABA43E #C5BF61

Accessibility & contrast

On white

4.50
#7E792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E792E#FFFFFF#000000##000000
##7E792E1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#877169
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e792e;
/* rgb */ color: rgb(126, 121, 46);
/* oklch */ color: oklch(56.5% 0.096 105.5);
Tailwind
colors: {
  custom: {
    50: '#a69f6a',
    500: '#7e792e',
    950: '#000000',
  },
}
SCSS
$custom: #7e792e;
$custom-light: #a69f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e792e",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 56.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.565,
    "c": 0.09641,
    "h": 105.5
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#7E792E
secondary
#5C61AC
accent
#5AD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E792E

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

Preview Lab → · Contrast checker → · Palette generator →

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