#7D6815#7D6815

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

Color values

HEX#7D6815
RGBrgb(125, 104, 21)
HSLhsl(48, 71%, 29%)
HSVhsv(48, 83%, 49%)
CMYKcmyk(0%, 16.8%, 83.2%, 51%)
CIE-LABlab(44.68, -0.40, 45.88)
CIE-LCHlch(44.68, 45.88, 90.50°)
OKLaboklab(52.31% -0.0064 0.0993)
OKLCHoklch(52.31% 0.099 93.7)
XYZxyz(13.5439, 14.3156, 2.7591)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6815 #152A7D
analogous
#7D3415 #7D6815 #5E7D15
triadic
#7D6815 #157D68 #68157D
tetradic
#7D6815 #157D34 #152A7D #7D155E
square
#7D6815 #157D34 #152A7D #7D155E
split-complementary
#7D6815 #155E7D #34157D
monochromatic
#1A1604 #493C0C #7D6815 #B1941E #DCB930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6815#FFFFFF#000000##FFFFFF
##7D68151.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)
#746601
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6815;
/* rgb */ color: rgb(125, 104, 21);
/* oklch */ color: oklch(52.3% 0.099 93.7);
Tailwind
colors: {
  custom: {
    50: '#a6925b',
    500: '#7d6815',
    950: '#000000',
  },
}
SCSS
$custom: #7d6815;
$custom-light: #a6925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6815",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 47.885,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.09945,
    "h": 93.7
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#7D6815
secondary
#3C54B2
accent
#5EEE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D6815

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

Preview Lab → · Contrast checker → · Palette generator →

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