#7D782D#7D782D

#7D782D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.096 H 105.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D782D
RGBrgb(125, 120, 45)
HSLhsl(56, 47%, 33%)
HSVhsv(56, 64%, 49%)
CMYKcmyk(0%, 4%, 64%, 51%)
CIE-LABlab(49.48, -8.18, 40.66)
CIE-LCHlch(49.48, 41.47, 101.38°)
OKLaboklab(56.16% -0.0257 0.0928)
OKLCHoklch(56.16% 0.096 105.5)
XYZxyz(15.6481, 17.9829, 5.1289)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D782D #2D327D
analogous
#7D502D #7D782D #5A7D2D
triadic
#7D782D #2D7D78 #782D7D
tetradic
#7D782D #2D7D50 #2D327D #7D2D5A
square
#7D782D #2D7D50 #2D327D #7D2D5A
split-complementary
#7D782D #2D5A7D #502D7D
monochromatic
#23220D #504D1D #7D782D #AAA33D #C5BF5F

Accessibility & contrast

On white

4.57
#7D782D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7D782D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D782D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D782D#FFFFFF#000000##000000
##7D782D1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#827424
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#867068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d782d;
/* rgb */ color: rgb(125, 120, 45);
/* oklch */ color: oklch(56.2% 0.096 105.5);
Tailwind
colors: {
  custom: {
    50: '#a59e6a',
    500: '#7d782d',
    950: '#000000',
  },
}
SCSS
$custom: #7d782d;
$custom-light: #a59e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d782d",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 56.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.09633,
    "h": 105.5
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#7D782D
secondary
#5A5FAC
accent
#59D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D782D

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

Preview Lab → · Contrast checker → · Palette generator →

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