#7C8024#7C8024

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

Color values

HEX#7C8024
RGBrgb(124, 128, 36)
HSLhsl(63, 56%, 32%)
HSVhsv(63, 72%, 50%)
CMYKcmyk(3.1%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.67, -13.60, 46.82)
CIE-LCHlch(51.67, 48.75, 106.20°)
OKLaboklab(57.87% -0.0419 0.1043)
OKLCHoklch(57.87% 0.112 111.9)
XYZxyz(16.3503, 19.8512, 4.6391)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8024 #282480
analogous
#805624 #7C8024 #4E8024
triadic
#7C8024 #247C80 #80247C
tetradic
#7C8024 #248056 #282480 #80244E
square
#7C8024 #248056 #282480 #80244E
split-complementary
#7C8024 #244E80 #562480
monochromatic
#1F2009 #4E5017 #7C8024 #AAB031 #C8CE50

Accessibility & contrast

On white

4.23
#7C8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7C8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8024
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8024#FFFFFF#000000##000000
##7C80241.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#85786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c8024;
/* rgb */ color: rgb(124, 128, 36);
/* oklch */ color: oklch(57.9% 0.112 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a465',
    500: '#7c8024',
    950: '#000000',
  },
}
SCSS
$custom: #7c8024;
$custom-light: #a5a465;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8024",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 62.609,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.11244,
    "h": 111.9
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#7C8024
secondary
#524EB2
accent
#48DF4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8024

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

Preview Lab → · Contrast checker → · Palette generator →

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