#7E793F#7E793F

#7E793F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.079 H 104.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E793F
RGBrgb(126, 121, 63)
HSLhsl(55, 33%, 37%)
HSVhsv(55, 50%, 49%)
CMYKcmyk(0%, 4%, 50%, 50.6%)
CIE-LABlab(50.06, -6.73, 32.26)
CIE-LCHlch(50.06, 32.95, 101.79°)
OKLaboklab(56.72% -0.0195 0.0768)
OKLCHoklch(56.72% 0.079 104.2)
XYZxyz(16.3392, 18.4697, 7.4060)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E793F #3F447E
analogous
#7E5A3F #7E793F #647E3F
triadic
#7E793F #3F7E79 #793F7E
tetradic
#7E793F #3F7E5A #3F447E #7E3F64
square
#7E793F #3F7E5A #3F447E #7E3F64
split-complementary
#7E793F #3F647E #5A3F7E
monochromatic
#2C2B16 #55522B #7E793F #A7A053 #BDB87B

Accessibility & contrast

On white

4.47
#7E793F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7E793F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E793F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E793F#FFFFFF#000000##000000
##7E793F1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82753A
Deuteranopia (green-blind)
#847842
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e793f;
/* rgb */ color: rgb(126, 121, 63);
/* oklch */ color: oklch(56.7% 0.079 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59f75',
    500: '#7e793f',
    950: '#000000',
  },
}
SCSS
$custom: #7e793f;
$custom-light: #a59f75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e793f",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 63
  },
  "hsl": {
    "h": 55.238,
    "s": 33.333,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.07928,
    "h": 104.2
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#7E793F
secondary
#7276A7
accent
#67C95E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7E793F

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

Preview Lab → · Contrast checker → · Palette generator →

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