#7D781E#7D781E

#7D781E is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.108 H 106.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D781E
RGBrgb(125, 120, 30)
HSLhsl(57, 61%, 30%)
HSVhsv(57, 76%, 49%)
CMYKcmyk(0%, 4%, 76%, 51%)
CIE-LABlab(49.36, -9.09, 46.94)
CIE-LCHlch(49.36, 47.81, 100.95°)
OKLaboklab(56.03% -0.03 0.1034)
OKLCHoklch(56.03% 0.108 106.2)
XYZxyz(15.4089, 17.8872, 3.8690)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D781E #1E237D
analogous
#7D481E #7D781E #527D1E
triadic
#7D781E #1E7D78 #781E7D
tetradic
#7D781E #1E7D48 #1E237D #7D1E52
square
#7D781E #1E7D48 #1E237D #7D1E52
split-complementary
#7D781E #1E527D #481E7D
monochromatic
#1A1906 #4C4912 #7D781E #AEA72A #D2CA43

Accessibility & contrast

On white

4.59
#7D781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7D781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D781E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D781E#FFFFFF#000000##FFFFFF
##7D781E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d781e;
/* rgb */ color: rgb(125, 120, 30);
/* oklch */ color: oklch(56.0% 0.108 106.2);
Tailwind
colors: {
  custom: {
    50: '#a69e61',
    500: '#7d781e',
    950: '#000000',
  },
}
SCSS
$custom: #7d781e;
$custom-light: #a69e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d781e",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 56.842,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.10766,
    "h": 106.2
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#7D781E
secondary
#464CB0
accent
#4CE443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D781E

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

Preview Lab → · Contrast checker → · Palette generator →

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