#7E702C#7E702C

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

Color values

HEX#7E702C
RGBrgb(126, 112, 44)
HSLhsl(50, 48%, 33%)
HSVhsv(50, 65%, 49%)
CMYKcmyk(0%, 11.1%, 65.1%, 50.6%)
CIE-LABlab(47.24, -3.29, 38.74)
CIE-LCHlch(47.24, 38.88, 94.85°)
OKLaboklab(54.41% -0.0119 0.0886)
OKLCHoklch(54.41% 0.089 97.7)
XYZxyz(14.8536, 16.2065, 4.7282)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E702C #2C3A7E
analogous
#7E472C #7E702C #637E2C
triadic
#7E702C #2C7E70 #702C7E
tetradic
#7E702C #2C7E47 #2C3A7E #7E2C63
square
#7E702C #2C7E47 #2C3A7E #7E2C63
split-complementary
#7E702C #2C637E #472C7E
monochromatic
#231F0C #51481C #7E702C #AB983C #C7B55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E702C#FFFFFF#000000##FFFFFF
##7E702C1.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)
#7B6D24
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#886861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e702c;
/* rgb */ color: rgb(126, 112, 44);
/* oklch */ color: oklch(54.4% 0.089 97.7);
Tailwind
colors: {
  custom: {
    50: '#a69868',
    500: '#7e702c',
    950: '#000000',
  },
}
SCSS
$custom: #7e702c;
$custom-light: #a69868;
$custom-dark: #000000;
JSON
{
  "hex": "#7e702c",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 49.756,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.08938,
    "h": 97.7
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#7E702C
secondary
#5967AD
accent
#67D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E702C

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

Preview Lab → · Contrast checker → · Palette generator →

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