#7D782E#7D782E

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

Color values

HEX#7D782E
RGBrgb(125, 120, 46)
HSLhsl(56, 46%, 34%)
HSVhsv(56, 63%, 49%)
CMYKcmyk(0%, 4%, 63.2%, 51%)
CIE-LABlab(49.48, -8.11, 40.20)
CIE-LCHlch(49.48, 41.01, 101.41°)
OKLaboklab(56.17% -0.0254 0.092)
OKLCHoklch(56.17% 0.095 105.4)
XYZxyz(15.6676, 17.9907, 5.2315)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D782E #2E337D
analogous
#7D502E #7D782E #5A7D2E
triadic
#7D782E #2E7D78 #782E7D
tetradic
#7D782E #2E7D50 #2E337D #7D2E5A
square
#7D782E #2E7D50 #2E337D #7D2E5A
split-complementary
#7D782E #2E5A7D #502E7D
monochromatic
#24220D #504D1E #7D782E #AAA33E #C5BE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D782E#FFFFFF#000000##000000
##7D782E1.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)
#827425
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#867068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d782e;
/* rgb */ color: rgb(125, 120, 46);
/* oklch */ color: oklch(56.2% 0.095 105.4);
Tailwind
colors: {
  custom: {
    50: '#a59e6a',
    500: '#7d782e',
    950: '#000000',
  },
}
SCSS
$custom: #7d782e;
$custom-light: #a59e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d782e",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 56.203,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.09544,
    "h": 105.4
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#7D782E
secondary
#5B60AB
accent
#5AD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D782E

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

Preview Lab → · Contrast checker → · Palette generator →

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