#7C7D20#7C7D20

#7C7D20 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.112 H 110.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7D20
RGBrgb(124, 125, 32)
HSLhsl(61, 59%, 31%)
HSVhsv(61, 74%, 49%)
CMYKcmyk(0.8%, 0%, 74.4%, 51%)
CIE-LABlab(50.75, -12.19, 47.48)
CIE-LCHlch(50.75, 49.02, 104.40°)
OKLaboklab(57.13% -0.0384 0.105)
OKLCHoklch(57.13% 0.112 110.1)
XYZxyz(15.9071, 19.0571, 4.2067)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D20 #21207D
analogous
#7D4F20 #7C7D20 #4D7D20
triadic
#7C7D20 #207C7D #7D207C
tetradic
#7C7D20 #207D4F #21207D #7D204D
square
#7C7D20 #207D4F #21207D #7D204D
split-complementary
#7C7D20 #204D7D #4F207D
monochromatic
#1B1C07 #4C4C14 #7C7D20 #ACAE2C #CFD047

Accessibility & contrast

On white

4.36
#7C7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D20
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D20#FFFFFF#000000##000000
##7C7D201.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d20;
/* rgb */ color: rgb(124, 125, 32);
/* oklch */ color: oklch(57.1% 0.112 110.1);
Tailwind
colors: {
  custom: {
    50: '#a5a263',
    500: '#7c7d20',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d20;
$custom-light: #a5a263;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d20",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 60.645,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.11179,
    "h": 110.1
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#7C7D20
secondary
#4A49B0
accent
#45E247
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7C7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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