#7D7318#7D7318

#7D7318 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.106 H 102.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D7318
RGBrgb(125, 115, 24)
HSLhsl(54, 68%, 29%)
HSVhsv(54, 81%, 49%)
CMYKcmyk(0%, 8%, 80.8%, 51%)
CIE-LABlab(47.86, -6.56, 47.70)
CIE-LCHlch(47.86, 48.15, 97.83°)
OKLaboklab(54.83% -0.0235 0.1038)
OKLCHoklch(54.83% 0.106 102.7)
XYZxyz(14.7537, 16.6880, 3.3080)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7318 #18227D
analogous
#7D4118 #7D7318 #557D18
triadic
#7D7318 #187D73 #73187D
tetradic
#7D7318 #187D41 #18227D #7D1855
square
#7D7318 #187D41 #18227D #7D1855
split-complementary
#7D7318 #18557D #41187D
monochromatic
#1A1805 #4A440E #7D7318 #B0A222 #D9C937

Accessibility & contrast

On white

4.84
#7D7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7318
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7318#FFFFFF#000000##FFFFFF
##7D73181.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7318;
/* rgb */ color: rgb(125, 115, 24);
/* oklch */ color: oklch(54.8% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#a69b5e',
    500: '#7d7318',
    950: '#000000',
  },
}
SCSS
$custom: #7d7318;
$custom-light: #a69b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7318",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 54.059,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.10645,
    "h": 102.7
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#7D7318
secondary
#3F4BB2
accent
#4EEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7318

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

Preview Lab → · Contrast checker → · Palette generator →

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