#7D7218#7D7218

#7D7218 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.106 H 102.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D7218
RGBrgb(125, 114, 24)
HSLhsl(53, 68%, 29%)
HSVhsv(53, 81%, 49%)
CMYKcmyk(0%, 8.8%, 80.8%, 51%)
CIE-LABlab(47.57, -6.00, 47.44)
CIE-LCHlch(47.57, 47.82, 97.21°)
OKLaboklab(54.6% -0.0219 0.1033)
OKLCHoklch(54.6% 0.106 102)
XYZxyz(14.6403, 16.4612, 3.2701)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7218 #18237D
analogous
#7D4018 #7D7218 #567D18
triadic
#7D7218 #187D72 #72187D
tetradic
#7D7218 #187D40 #18237D #7D1856
square
#7D7218 #187D40 #18237D #7D1856
split-complementary
#7D7218 #18567D #40187D
monochromatic
#1A1705 #4A430E #7D7218 #B0A122 #D9C737

Accessibility & contrast

On white

4.89
#7D7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7218
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7218#FFFFFF#000000##FFFFFF
##7D72181.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#876961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7218;
/* rgb */ color: rgb(125, 114, 24);
/* oklch */ color: oklch(54.6% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#a69a5e',
    500: '#7d7218',
    950: '#000000',
  },
}
SCSS
$custom: #7d7218;
$custom-light: #a69a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7218",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 53.465,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.10556,
    "h": 102
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#7D7218
secondary
#3F4CB2
accent
#50EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7218

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

Preview Lab → · Contrast checker → · Palette generator →

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