#7D6814#7D6814

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

Color values

HEX#7D6814
RGBrgb(125, 104, 20)
HSLhsl(48, 72%, 28%)
HSVhsv(48, 84%, 49%)
CMYKcmyk(0%, 16.8%, 84%, 51%)
CIE-LABlab(44.68, -0.44, 46.21)
CIE-LCHlch(44.68, 46.21, 90.54°)
OKLaboklab(52.3% -0.0066 0.0998)
OKLCHoklch(52.3% 0.1 93.8)
XYZxyz(13.5348, 14.3119, 2.7113)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6814 #14297D
analogous
#7D3314 #7D6814 #5D7D14
triadic
#7D6814 #147D68 #68147D
tetradic
#7D6814 #147D33 #14297D #7D145D
square
#7D6814 #147D33 #14297D #7D145D
split-complementary
#7D6814 #145D7D #33147D
monochromatic
#1A1604 #483C0C #7D6814 #B2941C #DEBA2E

Accessibility & contrast

On white

5.44
#7D6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7D6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6814
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6814#FFFFFF#000000##FFFFFF
##7D68141.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6814;
/* rgb */ color: rgb(125, 104, 20);
/* oklch */ color: oklch(52.3% 0.100 93.8);
Tailwind
colors: {
  custom: {
    50: '#a7925a',
    500: '#7d6814',
    950: '#000000',
  },
}
SCSS
$custom: #7d6814;
$custom-light: #a7925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6814",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 48,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.09997,
    "h": 93.8
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#7D6814
secondary
#3A52B2
accent
#5DEF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D6814

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

Preview Lab → · Contrast checker → · Palette generator →

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