#7D8024#7D8024

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

Color values

HEX#7D8024
RGBrgb(125, 128, 36)
HSLhsl(62, 56%, 32%)
HSVhsv(62, 72%, 50%)
CMYKcmyk(2.3%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.75, -13.14, 46.93)
CIE-LCHlch(51.75, 48.73, 105.64°)
OKLaboklab(57.96% -0.0407 0.1045)
OKLCHoklch(57.96% 0.112 111.3)
XYZxyz(16.4956, 19.9261, 4.6459)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8024 #272480
analogous
#805524 #7D8024 #4F8024
triadic
#7D8024 #247D80 #80247D
tetradic
#7D8024 #248055 #272480 #80244F
square
#7D8024 #248055 #272480 #80244F
split-complementary
#7D8024 #244F80 #552480
monochromatic
#202009 #4E5017 #7D8024 #ACB031 #CACE50

Accessibility & contrast

On white

4.21
#7D8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7D8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8024
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8024#FFFFFF#000000##000000
##7D80241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8024;
/* rgb */ color: rgb(125, 128, 36);
/* oklch */ color: oklch(58.0% 0.112 111.3);
Tailwind
colors: {
  custom: {
    50: '#a5a465',
    500: '#7d8024',
    950: '#000000',
  },
}
SCSS
$custom: #7d8024;
$custom-light: #a5a465;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8024",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 61.957,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.11219,
    "h": 111.3
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#7D8024
secondary
#514EB2
accent
#48DF4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8024

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

Preview Lab → · Contrast checker → · Palette generator →

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