#7D7818#7D7818

#7D7818 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.111 H 106.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D7818
RGBrgb(125, 120, 24)
HSLhsl(57, 68%, 29%)
HSVhsv(57, 81%, 49%)
CMYKcmyk(0%, 4%, 80.8%, 51%)
CIE-LABlab(49.33, -9.35, 49.02)
CIE-LCHlch(49.33, 49.90, 100.80°)
OKLaboklab(56% -0.0313 0.1066)
OKLCHoklch(56% 0.111 106.3)
XYZxyz(15.3394, 17.8594, 3.5032)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7818 #181D7D
analogous
#7D4618 #7D7818 #507D18
triadic
#7D7818 #187D78 #78187D
tetradic
#7D7818 #187D46 #181D7D #7D1850
square
#7D7818 #187D46 #181D7D #7D1850
split-complementary
#7D7818 #18507D #46187D
monochromatic
#1A1905 #4A470E #7D7818 #B0A922 #D9D137

Accessibility & contrast

On white

4.59
#7D7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D7818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7818
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7818#FFFFFF#000000##FFFFFF
##7D78181.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7818;
/* rgb */ color: rgb(125, 120, 24);
/* oklch */ color: oklch(56.0% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a69e5e',
    500: '#7d7818',
    950: '#000000',
  },
}
SCSS
$custom: #7d7818;
$custom-light: #a69e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7818",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 57.03,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.11113,
    "h": 106.3
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#7D7818
secondary
#3F45B2
accent
#46EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7818

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

Preview Lab → · Contrast checker → · Palette generator →

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