#7C702E#7C702E

#7C702E is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.087 H 99.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7C702E
RGBrgb(124, 112, 46)
HSLhsl(51, 46%, 33%)
HSVhsv(51, 63%, 49%)
CMYKcmyk(0%, 9.7%, 62.9%, 51.4%)
CIE-LABlab(47.07, -4.07, 37.52)
CIE-LCHlch(47.07, 37.73, 96.19°)
OKLaboklab(54.23% -0.0138 0.0863)
OKLCHoklch(54.23% 0.087 99.1)
XYZxyz(14.6001, 16.0713, 4.9173)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C702E #2E3A7C
analogous
#7C492E #7C702E #617C2E
triadic
#7C702E #2E7C70 #702E7C
tetradic
#7C702E #2E7C49 #2E3A7C #7C2E61
square
#7C702E #2E7C49 #2E3A7C #7C2E61
split-complementary
#7C702E #2E617C #492E7C
monochromatic
#231F0D #4F481D #7C702E #A9983F #C4B560

Accessibility & contrast

On white

4.98
#7C702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7C702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C702E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C702E#FFFFFF#000000##FFFFFF
##7C702E1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c702e;
/* rgb */ color: rgb(124, 112, 46);
/* oklch */ color: oklch(54.2% 0.087 99.1);
Tailwind
colors: {
  custom: {
    50: '#a4986a',
    500: '#7c702e',
    950: '#000000',
  },
}
SCSS
$custom: #7c702e;
$custom-light: #a4986a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c702e",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 50.769,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.08741,
    "h": 99.1
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#7C702E
secondary
#5B67AB
accent
#66D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C702E

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

Preview Lab → · Contrast checker → · Palette generator →

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