#7C8219#7C8219

#7C8219 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.121 H 113.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7C8219
RGBrgb(124, 130, 25)
HSLhsl(63, 68%, 30%)
HSVhsv(63, 81%, 51%)
CMYKcmyk(4.6%, 0%, 80.8%, 49%)
CIE-LABlab(52.20, -15.20, 51.24)
CIE-LCHlch(52.20, 53.45, 106.52°)
OKLaboklab(58.27% -0.0474 0.1116)
OKLCHoklch(58.27% 0.121 113)
XYZxyz(16.4708, 20.3209, 3.9742)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8219 #1F1982
analogous
#825419 #7C8219 #478219
triadic
#7C8219 #197C82 #82197C
tetradic
#7C8219 #198254 #1F1982 #821947
square
#7C8219 #198254 #1F1982 #821947
split-complementary
#7C8219 #194782 #541982
monochromatic
#1A1B05 #4B4F0F #7C8219 #ADB523 #D0D93C

Accessibility & contrast

On white

4.15
#7C8219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7C8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8219
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8219#FFFFFF#000000##000000
##7C82191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7E23
Tritanopia (blue-blind)
#857A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8219;
/* rgb */ color: rgb(124, 130, 25);
/* oklch */ color: oklch(58.3% 0.121 113.0);
Tailwind
colors: {
  custom: {
    50: '#a5a660',
    500: '#7c8219',
    950: '#000000',
  },
}
SCSS
$custom: #7c8219;
$custom-light: #a5a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8219",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 63.429,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.12128,
    "h": 113
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#7C8219
secondary
#4841B6
accent
#3DEB47
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8219

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

Preview Lab → · Contrast checker → · Palette generator →

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