#7F782E#7F782E

#7F782E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.4% C 0.095 H 103.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7F782E
RGBrgb(127, 120, 46)
HSLhsl(55, 47%, 34%)
HSVhsv(55, 64%, 50%)
CMYKcmyk(0%, 5.5%, 63.8%, 50.2%)
CIE-LABlab(49.67, -7.19, 40.45)
CIE-LCHlch(49.67, 41.08, 100.08°)
OKLaboklab(56.36% -0.0229 0.0925)
OKLCHoklch(56.36% 0.095 103.9)
XYZxyz(15.9626, 18.1428, 5.2453)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F782E #2E357F
analogous
#7F502E #7F782E #5E7F2E
triadic
#7F782E #2E7F78 #782E7F
tetradic
#7F782E #2E7F50 #2E357F #7F2E5E
square
#7F782E #2E7F50 #2E357F #7F2E5E
split-complementary
#7F782E #2E5E7F #502E7F
monochromatic
#25230D #524E1E #7F782E #ACA23E #C6BD61

Accessibility & contrast

On white

4.54
#7F782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7F782E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F782E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F782E#FFFFFF#000000##000000
##7F782E1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#887068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f782e;
/* rgb */ color: rgb(127, 120, 46);
/* oklch */ color: oklch(56.4% 0.095 103.9);
Tailwind
colors: {
  custom: {
    50: '#a69e6a',
    500: '#7f782e',
    950: '#000000',
  },
}
SCSS
$custom: #7f782e;
$custom-light: #a69e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f782e",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 54.815,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.09528,
    "h": 103.9
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#7F782E
secondary
#5C63AD
accent
#5DD651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7F782E

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

Preview Lab → · Contrast checker → · Palette generator →

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