#7C702C#7C702C

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

Color values

HEX#7C702C
RGBrgb(124, 112, 44)
HSLhsl(51, 48%, 33%)
HSVhsv(51, 65%, 49%)
CMYKcmyk(0%, 9.7%, 64.5%, 51.4%)
CIE-LABlab(47.05, -4.21, 38.47)
CIE-LCHlch(47.05, 38.70, 96.25°)
OKLaboklab(54.21% -0.0145 0.0881)
OKLCHoklch(54.21% 0.089 99.3)
XYZxyz(14.5616, 16.0559, 4.7145)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C702C #2C387C
analogous
#7C482C #7C702C #607C2C
triadic
#7C702C #2C7C70 #702C7C
tetradic
#7C702C #2C7C48 #2C387C #7C2C60
square
#7C702C #2C7C48 #2C387C #7C2C60
split-complementary
#7C702C #2C607C #482C7C
monochromatic
#221E0C #4F471C #7C702C #A9993C #C5B65D

Accessibility & contrast

On white

4.99
#7C702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C702C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C702C#FFFFFF#000000##FFFFFF
##7C702C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D24
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#856861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c702c;
/* rgb */ color: rgb(124, 112, 44);
/* oklch */ color: oklch(54.2% 0.089 99.3);
Tailwind
colors: {
  custom: {
    50: '#a49868',
    500: '#7c702c',
    950: '#000000',
  },
}
SCSS
$custom: #7c702c;
$custom-light: #a49868;
$custom-dark: #000000;
JSON
{
  "hex": "#7c702c",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 51,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.08924,
    "h": 99.3
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#7C702C
secondary
#5865AC
accent
#65D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C702C

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

Preview Lab → · Contrast checker → · Palette generator →

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