#7D7314#7D7314

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

Color values

HEX#7D7314
RGBrgb(125, 115, 20)
HSLhsl(54, 72%, 28%)
HSVhsv(54, 84%, 49%)
CMYKcmyk(0%, 8%, 84%, 51%)
CIE-LABlab(47.84, -6.71, 48.98)
CIE-LCHlch(47.84, 49.43, 97.80°)
OKLaboklab(54.81% -0.0242 0.1057)
OKLCHoklch(54.81% 0.108 102.9)
XYZxyz(14.7152, 16.6726, 3.1047)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7314 #141E7D
analogous
#7D3E14 #7D7314 #527D14
triadic
#7D7314 #147D73 #73147D
tetradic
#7D7314 #147D3E #141E7D #7D1452
square
#7D7314 #147D3E #141E7D #7D1452
split-complementary
#7D7314 #14527D #3E147D
monochromatic
#1A1804 #48420C #7D7314 #B2A41C #DECD2E

Accessibility & contrast

On white

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

On black

4.33
#7D7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D7314#FFFFFF#000000##FFFFFF
##7D73141.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7314;
/* rgb */ color: rgb(125, 115, 20);
/* oklch */ color: oklch(54.8% 0.108 102.9);
Tailwind
colors: {
  custom: {
    50: '#a69a5c',
    500: '#7d7314',
    950: '#000000',
  },
}
SCSS
$custom: #7d7314;
$custom-light: #a69a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7314",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 54.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.10848,
    "h": 102.9
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#7D7314
secondary
#3A46B2
accent
#4AEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7D7314

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

Preview Lab → · Contrast checker → · Palette generator →

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