#7E702E#7E702E

#7E702E is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.088 H 97.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7E702E
RGBrgb(126, 112, 46)
HSLhsl(50, 47%, 34%)
HSVhsv(50, 63%, 49%)
CMYKcmyk(0%, 11.1%, 63.5%, 50.6%)
CIE-LABlab(47.26, -3.14, 37.79)
CIE-LCHlch(47.26, 37.92, 94.75°)
OKLaboklab(54.43% -0.0112 0.0869)
OKLCHoklch(54.43% 0.088 97.4)
XYZxyz(14.8921, 16.2219, 4.9310)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E702E #2E3C7E
analogous
#7E482E #7E702E #647E2E
triadic
#7E702E #2E7E70 #702E7E
tetradic
#7E702E #2E7E48 #2E3C7E #7E2E64
square
#7E702E #2E7E48 #2E3C7E #7E2E64
split-complementary
#7E702E #2E647E #482E7E
monochromatic
#24200D #51481E #7E702E #AB983E #C5B461

Accessibility & contrast

On white

4.95
#7E702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7E702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E702E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E702E#FFFFFF#000000##FFFFFF
##7E702E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D27
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#886862
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e702e;
/* rgb */ color: rgb(126, 112, 46);
/* oklch */ color: oklch(54.4% 0.088 97.4);
Tailwind
colors: {
  custom: {
    50: '#a6986a',
    500: '#7e702e',
    950: '#000000',
  },
}
SCSS
$custom: #7e702e;
$custom-light: #a6986a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e702e",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 49.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.08758,
    "h": 97.4
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#7E702E
secondary
#5C6AAC
accent
#69D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E702E

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

Preview Lab → · Contrast checker → · Palette generator →

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