#7D6418#7D6418

#7D6418 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.4% C 0.095 H 89.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D6418
RGBrgb(125, 100, 24)
HSLhsl(45, 68%, 29%)
HSVhsv(45, 81%, 49%)
CMYKcmyk(0%, 20%, 80.8%, 51%)
CIE-LABlab(43.57, 2.04, 43.79)
CIE-LCHlch(43.57, 43.83, 87.33°)
OKLaboklab(51.43% 0.0009 0.0954)
OKLCHoklch(51.43% 0.095 89.4)
XYZxyz(13.1803, 13.5411, 2.7835)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6418 #18317D
analogous
#7D3218 #7D6418 #647D18
triadic
#7D6418 #187D64 #64187D
tetradic
#7D6418 #187D32 #18317D #7D1864
square
#7D6418 #187D32 #18317D #7D1864
split-complementary
#7D6418 #18647D #32187D
monochromatic
#1A1505 #4A3B0E #7D6418 #B08D22 #D9B137

Accessibility & contrast

On white

5.66
#7D6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6418
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6418#FFFFFF#000000##FFFFFF
##7D64181.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706309
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#885B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d6418;
/* rgb */ color: rgb(125, 100, 24);
/* oklch */ color: oklch(51.4% 0.095 89.4);
Tailwind
colors: {
  custom: {
    50: '#a68f5c',
    500: '#7d6418',
    950: '#000000',
  },
}
SCSS
$custom: #7d6418;
$custom-light: #a68f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6418",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 45.149,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.09543,
    "h": 89.4
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#7D6418
secondary
#3F5CB2
accent
#68EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D6418

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

Preview Lab → · Contrast checker → · Palette generator →

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