#7D7718#7D7718

#7D7718 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.110 H 105.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D7718
RGBrgb(125, 119, 24)
HSLhsl(56, 68%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 4.8%, 80.8%, 51%)
CIE-LABlab(49.03, -8.80, 48.76)
CIE-LCHlch(49.03, 49.54, 100.23°)
OKLaboklab(55.76% -0.0297 0.1061)
OKLCHoklch(55.76% 0.11 105.7)
XYZxyz(15.2198, 17.6202, 3.4633)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7718 #181E7D
analogous
#7D4518 #7D7718 #517D18
triadic
#7D7718 #187D77 #77187D
tetradic
#7D7718 #187D45 #181E7D #7D1851
square
#7D7718 #187D45 #181E7D #7D1851
split-complementary
#7D7718 #18517D #45187D
monochromatic
#1A1805 #4A460E #7D7718 #B0A822 #D9CF37

Accessibility & contrast

On white

4.64
#7D7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7D7718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7718
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7718#FFFFFF#000000##FFFFFF
##7D77181.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7718;
/* rgb */ color: rgb(125, 119, 24);
/* oklch */ color: oklch(55.8% 0.110 105.7);
Tailwind
colors: {
  custom: {
    50: '#a69d5e',
    500: '#7d7718',
    950: '#000000',
  },
}
SCSS
$custom: #7d7718;
$custom-light: #a69d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7718",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 56.436,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.11017,
    "h": 105.7
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#7D7718
secondary
#3F46B2
accent
#47EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7718

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

Preview Lab → · Contrast checker → · Palette generator →

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