#7D6816#7D6816

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

Color values

HEX#7D6816
RGBrgb(125, 104, 22)
HSLhsl(48, 70%, 29%)
HSVhsv(48, 82%, 49%)
CMYKcmyk(0%, 16.8%, 82.4%, 51%)
CIE-LABlab(44.69, -0.36, 45.54)
CIE-LCHlch(44.69, 45.54, 90.46°)
OKLaboklab(52.31% -0.0062 0.0987)
OKLCHoklch(52.31% 0.099 93.6)
XYZxyz(13.5534, 14.3193, 2.8089)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6816 #162B7D
analogous
#7D3516 #7D6816 #5F7D16
triadic
#7D6816 #167D68 #68167D
tetradic
#7D6816 #167D35 #162B7D #7D165F
square
#7D6816 #167D35 #162B7D #7D165F
split-complementary
#7D6816 #165F7D #35167D
monochromatic
#1A1605 #493D0D #7D6816 #B1931F #DBB932

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6816#FFFFFF#000000##FFFFFF
##7D68161.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)
#746603
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6816;
/* rgb */ color: rgb(125, 104, 22);
/* oklch */ color: oklch(52.3% 0.099 93.6);
Tailwind
colors: {
  custom: {
    50: '#a6925b',
    500: '#7d6816',
    950: '#000000',
  },
}
SCSS
$custom: #7d6816;
$custom-light: #a6925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6816",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 47.767,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.09893,
    "h": 93.6
  },
  "luminance": 0.14319
}

Semantic roles & 50–950 ramp

primary
#7D6816
secondary
#3D55B2
accent
#5FED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D6816

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

Preview Lab → · Contrast checker → · Palette generator →

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