#7D6820#7D6820

#7D6820 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.093 H 92.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D6820
RGBrgb(125, 104, 32)
HSLhsl(46, 59%, 31%)
HSVhsv(46, 74%, 49%)
CMYKcmyk(0%, 16.8%, 74.4%, 51%)
CIE-LABlab(44.75, 0.10, 41.65)
CIE-LCHlch(44.75, 41.65, 89.87°)
OKLaboklab(52.38% -0.0037 0.0926)
OKLCHoklch(52.38% 0.093 92.3)
XYZxyz(13.6692, 14.3657, 3.4191)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6820 #20357D
analogous
#7D3920 #7D6820 #637D20
triadic
#7D6820 #207D68 #68207D
tetradic
#7D6820 #207D39 #20357D #7D2063
square
#7D6820 #207D39 #20357D #7D2063
split-complementary
#7D6820 #20637D #39207D
monochromatic
#1C1707 #4C3F14 #7D6820 #AE912C #D0B147

Accessibility & contrast

On white

5.42
#7D6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6820
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6820#FFFFFF#000000##FFFFFF
##7D68201.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746615
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#885F5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6820;
/* rgb */ color: rgb(125, 104, 32);
/* oklch */ color: oklch(52.4% 0.093 92.3);
Tailwind
colors: {
  custom: {
    50: '#a69260',
    500: '#7d6820',
    950: '#000000',
  },
}
SCSS
$custom: #7d6820;
$custom-light: #a69260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6820",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 46.452,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.09269,
    "h": 92.3
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#7D6820
secondary
#4960B0
accent
#69E245
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7D6820

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

Preview Lab → · Contrast checker → · Palette generator →

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