#7D6818#7D6818

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

Color values

HEX#7D6818
RGBrgb(125, 104, 24)
HSLhsl(48, 68%, 29%)
HSVhsv(48, 81%, 49%)
CMYKcmyk(0%, 16.8%, 80.8%, 51%)
CIE-LABlab(44.70, -0.28, 44.83)
CIE-LCHlch(44.70, 44.83, 90.36°)
OKLaboklab(52.32% -0.0057 0.0977)
OKLCHoklch(52.32% 0.098 93.4)
XYZxyz(13.5734, 14.3274, 2.9145)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6818 #182D7D
analogous
#7D3618 #7D6818 #607D18
triadic
#7D6818 #187D68 #68187D
tetradic
#7D6818 #187D36 #182D7D #7D1860
square
#7D6818 #187D36 #182D7D #7D1860
split-complementary
#7D6818 #18607D #36187D
monochromatic
#1A1505 #4A3D0E #7D6818 #B09322 #D9B737

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6818#FFFFFF#000000##FFFFFF
##7D68181.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)
#746607
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6818;
/* rgb */ color: rgb(125, 104, 24);
/* oklch */ color: oklch(52.3% 0.098 93.4);
Tailwind
colors: {
  custom: {
    50: '#a6925c',
    500: '#7d6818',
    950: '#000000',
  },
}
SCSS
$custom: #7d6818;
$custom-light: #a6925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6818",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 47.525,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.09783,
    "h": 93.4
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#7D6818
secondary
#3F57B2
accent
#61EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D6818

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

Preview Lab → · Contrast checker → · Palette generator →

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