#7D8043#7D8043

#7D8043 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.083 H 111.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D8043
RGBrgb(125, 128, 67)
HSLhsl(63, 31%, 38%)
HSVhsv(63, 48%, 50%)
CMYKcmyk(2.3%, 0%, 47.7%, 49.8%)
CIE-LABlab(52.07, -10.63, 32.54)
CIE-LCHlch(52.07, 34.24, 108.09°)
OKLaboklab(58.31% -0.0302 0.0778)
OKLCHoklch(58.31% 0.083 111.2)
XYZxyz(17.1900, 20.2039, 8.3033)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8043 #464380
analogous
#806443 #7D8043 #5E8043
triadic
#7D8043 #437D80 #80437D
tetradic
#7D8043 #438064 #464380 #80435E
square
#7D8043 #438064 #464380 #80435E
split-complementary
#7D8043 #435E80 #644380
monochromatic
#2F3019 #56582E #7D8043 #A4A858 #BABD81

Accessibility & contrast

On white

4.17
#7D8043 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7D8043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8043
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8043#FFFFFF#000000##000000
##7D80431.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3E
Deuteranopia (green-blind)
#897D46
Tritanopia (blue-blind)
#847A72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8043;
/* rgb */ color: rgb(125, 128, 67);
/* oklch */ color: oklch(58.3% 0.083 111.2);
Tailwind
colors: {
  custom: {
    50: '#a4a478',
    500: '#7d8043',
    950: '#000000',
  },
}
SCSS
$custom: #7d8043;
$custom-light: #a4a478;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8043",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 62.951,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.08347,
    "h": 111.2
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#7D8043
secondary
#7977A8
accent
#60C765
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7D8043

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

Preview Lab → · Contrast checker → · Palette generator →

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