#7A801C#7A801C

#7A801C is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.118 H 113.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A801C
RGBrgb(122, 128, 28)
HSLhsl(64, 64%, 31%)
HSVhsv(64, 78%, 50%)
CMYKcmyk(4.7%, 0%, 78.1%, 49.8%)
CIE-LABlab(51.45, -14.92, 49.52)
CIE-LCHlch(51.45, 51.72, 106.76°)
OKLaboklab(57.64% -0.0463 0.1086)
OKLCHoklch(57.64% 0.118 113.1)
XYZxyz(15.9553, 19.6601, 4.0527)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A801C #221C80
analogous
#80541C #7A801C #48801C
triadic
#7A801C #1C7A80 #801C7A
tetradic
#7A801C #1C8054 #221C80 #801C48
square
#7A801C #1C8054 #221C80 #801C48
split-complementary
#7A801C #1C4880 #541C80
monochromatic
#1A1C06 #4A4E11 #7A801C #AAB227 #CDD541

Accessibility & contrast

On white

4.26
#7A801C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A801C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A801C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A801C#FFFFFF#000000##000000
##7A801C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A04
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a801c;
/* rgb */ color: rgb(122, 128, 28);
/* oklch */ color: oklch(57.6% 0.118 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a461',
    500: '#7a801c',
    950: '#000000',
  },
}
SCSS
$custom: #7a801c;
$custom-light: #a4a461;
$custom-dark: #000000;
JSON
{
  "hex": "#7a801c",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 63.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.11806,
    "h": 113.1
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#7A801C
secondary
#4B44B3
accent
#41E74B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A801C

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

Preview Lab → · Contrast checker → · Palette generator →

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