#7D6819#7D6819

#7D6819 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.097 H 93.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7D6819
RGBrgb(125, 104, 25)
HSLhsl(47, 67%, 29%)
HSVhsv(47, 80%, 49%)
CMYKcmyk(0%, 16.8%, 80%, 51%)
CIE-LABlab(44.70, -0.24, 44.46)
CIE-LCHlch(44.70, 44.46, 90.31°)
OKLaboklab(52.33% -0.0055 0.0971)
OKLCHoklch(52.33% 0.097 93.2)
XYZxyz(13.5840, 14.3316, 2.9703)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6819 #192E7D
analogous
#7D3619 #7D6819 #607D19
triadic
#7D6819 #197D68 #68197D
tetradic
#7D6819 #197D36 #192E7D #7D1960
square
#7D6819 #197D36 #192E7D #7D1960
split-complementary
#7D6819 #19607D #36197D
monochromatic
#1A1505 #4A3E0F #7D6819 #B09223 #D7B639

Accessibility & contrast

On white

5.43
#7D6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D6819
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6819#FFFFFF#000000##FFFFFF
##7D68191.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6819;
/* rgb */ color: rgb(125, 104, 25);
/* oklch */ color: oklch(52.3% 0.097 93.2);
Tailwind
colors: {
  custom: {
    50: '#a6925d',
    500: '#7d6819',
    950: '#000000',
  },
}
SCSS
$custom: #7d6819;
$custom-light: #a6925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6819",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 47.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.09725,
    "h": 93.2
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#7D6819
secondary
#4058B1
accent
#62EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D6819

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

Preview Lab → · Contrast checker → · Palette generator →

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