#7C702D#7C702D

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

Color values

HEX#7C702D
RGBrgb(124, 112, 45)
HSLhsl(51, 47%, 33%)
HSVhsv(51, 64%, 49%)
CMYKcmyk(0%, 9.7%, 63.7%, 51.4%)
CIE-LABlab(47.06, -4.14, 38.00)
CIE-LCHlch(47.06, 38.22, 96.22°)
OKLaboklab(54.22% -0.0141 0.0872)
OKLCHoklch(54.22% 0.088 99.2)
XYZxyz(14.5806, 16.0635, 4.8147)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C702D #2D397C
analogous
#7C482D #7C702D #607C2D
triadic
#7C702D #2D7C70 #702D7C
tetradic
#7C702D #2D7C48 #2D397C #7C2D60
square
#7C702D #2D7C48 #2D397C #7C2D60
split-complementary
#7C702D #2D607C #482D7C
monochromatic
#221F0C #4F471D #7C702D #A9993D #C5B55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C702D#FFFFFF#000000##FFFFFF
##7C702D1.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)
#7A6D26
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#856862
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c702d;
/* rgb */ color: rgb(124, 112, 45);
/* oklch */ color: oklch(54.2% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#a49869',
    500: '#7c702d',
    950: '#000000',
  },
}
SCSS
$custom: #7c702d;
$custom-light: #a49869;
$custom-dark: #000000;
JSON
{
  "hex": "#7c702d",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 50.886,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.08834,
    "h": 99.2
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

primary
#7C702D
secondary
#5A66AB
accent
#66D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C702D

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

Preview Lab → · Contrast checker → · Palette generator →

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