#7D801C#7D801C

#7D801C is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.117 H 111.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D801C
RGBrgb(125, 128, 28)
HSLhsl(62, 64%, 31%)
HSVhsv(62, 78%, 50%)
CMYKcmyk(2.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(51.70, -13.54, 49.84)
CIE-LCHlch(51.70, 51.65, 105.20°)
OKLaboklab(57.9% -0.0426 0.1092)
OKLCHoklch(57.9% 0.117 111.3)
XYZxyz(16.3868, 19.8826, 4.0729)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D801C #1F1C80
analogous
#80511C #7D801C #4B801C
triadic
#7D801C #1C7D80 #801C7D
tetradic
#7D801C #1C8051 #1F1C80 #801C4B
square
#7D801C #1C8051 #1F1C80 #801C4B
split-complementary
#7D801C #1C4B80 #511C80
monochromatic
#1B1C06 #4C4E11 #7D801C #AEB227 #D1D541

Accessibility & contrast

On white

4.22
#7D801C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7D801C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D801C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D801C#FFFFFF#000000##000000
##7D801C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A03
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#86786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d801c;
/* rgb */ color: rgb(125, 128, 28);
/* oklch */ color: oklch(57.9% 0.117 111.3);
Tailwind
colors: {
  custom: {
    50: '#a6a461',
    500: '#7d801c',
    950: '#000000',
  },
}
SCSS
$custom: #7d801c;
$custom-light: #a6a461;
$custom-dark: #000000;
JSON
{
  "hex": "#7d801c",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 61.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.11721,
    "h": 111.3
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#7D801C
secondary
#4844B3
accent
#41E746
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D801C

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

Preview Lab → · Contrast checker → · Palette generator →

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