#7D6817#7D6817

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

Color values

HEX#7D6817
RGBrgb(125, 104, 23)
HSLhsl(48, 69%, 29%)
HSVhsv(48, 82%, 49%)
CMYKcmyk(0%, 16.8%, 81.6%, 51%)
CIE-LABlab(44.69, -0.32, 45.19)
CIE-LCHlch(44.69, 45.19, 90.41°)
OKLaboklab(52.32% -0.0059 0.0982)
OKLCHoklch(52.32% 0.098 93.5)
XYZxyz(13.5632, 14.3233, 2.8607)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6817 #172C7D
analogous
#7D3517 #7D6817 #5F7D17
triadic
#7D6817 #177D68 #68177D
tetradic
#7D6817 #177D35 #172C7D #7D175F
square
#7D6817 #177D35 #172C7D #7D175F
split-complementary
#7D6817 #175F7D #35177D
monochromatic
#1A1605 #493D0D #7D6817 #B19321 #DAB835

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6817#FFFFFF#000000##FFFFFF
##7D68171.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6817;
/* rgb */ color: rgb(125, 104, 23);
/* oklch */ color: oklch(52.3% 0.098 93.5);
Tailwind
colors: {
  custom: {
    50: '#a6925c',
    500: '#7d6817',
    950: '#000000',
  },
}
SCSS
$custom: #7d6817;
$custom-light: #a6925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6817",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 47.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.09839,
    "h": 93.5
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#7D6817
secondary
#3E56B2
accent
#60EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D6817

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

Preview Lab → · Contrast checker → · Palette generator →

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