#7C7320#7C7320

#7C7320 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.102 H 103.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7C7320
RGBrgb(124, 115, 32)
HSLhsl(54, 59%, 31%)
HSVhsv(54, 74%, 49%)
CMYKcmyk(0%, 7.3%, 74.2%, 51.4%)
CIE-LABlab(47.82, -6.66, 44.64)
CIE-LCHlch(47.82, 45.13, 98.49°)
OKLaboklab(54.79% -0.0229 0.099)
OKLCHoklch(54.79% 0.102 103)
XYZxyz(14.7043, 16.6515, 3.8057)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7320 #20297C
analogous
#7C4520 #7C7320 #577C20
triadic
#7C7320 #207C73 #73207C
tetradic
#7C7320 #207C45 #20297C #7C2057
square
#7C7320 #207C45 #20297C #7C2057
split-complementary
#7C7320 #20577C #45207C
monochromatic
#1B1907 #4B4613 #7C7320 #ADA02D #CFC247

Accessibility & contrast

On white

4.85
#7C7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7C7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7320
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7320#FFFFFF#000000##FFFFFF
##7C73201.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F12
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7320;
/* rgb */ color: rgb(124, 115, 32);
/* oklch */ color: oklch(54.8% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#a59b62',
    500: '#7c7320',
    950: '#000000',
  },
}
SCSS
$custom: #7c7320;
$custom-light: #a59b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7320",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 54.13,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.1016,
    "h": 103
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#7C7320
secondary
#4953AF
accent
#55E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C7320

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

Preview Lab → · Contrast checker → · Palette generator →

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