#7D8029#7D8029

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

Color values

HEX#7D8029
RGBrgb(125, 128, 41)
HSLhsl(62, 51%, 33%)
HSVhsv(62, 68%, 50%)
CMYKcmyk(2.3%, 0%, 68%, 49.8%)
CIE-LABlab(51.79, -12.84, 44.90)
CIE-LCHlch(51.79, 46.70, 105.96°)
OKLaboklab(58% -0.0393 0.1011)
OKLCHoklch(58% 0.109 111.3)
XYZxyz(16.5774, 19.9588, 5.0766)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8029 #2C2980
analogous
#805729 #7D8029 #518029
triadic
#7D8029 #297D80 #80297D
tetradic
#7D8029 #298057 #2C2980 #802951
square
#7D8029 #298057 #2C2980 #802951
split-complementary
#7D8029 #295180 #572980
monochromatic
#22230B #50521A #7D8029 #AAAE38 #C6CA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8029#FFFFFF#000000##000000
##7D80291.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)
#8A7A1D
Deuteranopia (green-blind)
#8A7D2F
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d8029;
/* rgb */ color: rgb(125, 128, 41);
/* oklch */ color: oklch(58.0% 0.109 111.3);
Tailwind
colors: {
  custom: {
    50: '#a5a468',
    500: '#7d8029',
    950: '#000000',
  },
}
SCSS
$custom: #7d8029;
$custom-light: #a5a468;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8029",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 62.069,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.10851,
    "h": 111.3
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#7D8029
secondary
#5955AF
accent
#4DDB52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8029

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

Preview Lab → · Contrast checker → · Palette generator →

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