#7D8026#7D8026

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

Color values

HEX#7D8026
RGBrgb(125, 128, 38)
HSLhsl(62, 54%, 33%)
HSVhsv(62, 70%, 50%)
CMYKcmyk(2.3%, 0%, 70.3%, 49.8%)
CIE-LABlab(51.77, -13.03, 46.13)
CIE-LCHlch(51.77, 47.94, 105.77°)
OKLaboklab(57.97% -0.0402 0.1032)
OKLCHoklch(57.97% 0.111 111.3)
XYZxyz(16.5270, 19.9387, 4.8113)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8026 #292680
analogous
#805626 #7D8026 #508026
triadic
#7D8026 #267D80 #80267D
tetradic
#7D8026 #268056 #292680 #802650
square
#7D8026 #268056 #292680 #802650
split-complementary
#7D8026 #265080 #562680
monochromatic
#21220A #4F5118 #7D8026 #ABAF34 #C8CC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8026#FFFFFF#000000##000000
##7D80261.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)
#8A7A18
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d8026;
/* rgb */ color: rgb(125, 128, 38);
/* oklch */ color: oklch(58.0% 0.111 111.3);
Tailwind
colors: {
  custom: {
    50: '#a5a466',
    500: '#7d8026',
    950: '#000000',
  },
}
SCSS
$custom: #7d8026;
$custom-light: #a5a466;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8026",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 62,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.11076,
    "h": 111.3
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#7D8026
secondary
#5451B1
accent
#4ADE4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8026

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

Preview Lab → · Contrast checker → · Palette generator →

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