#7D7814#7D7814

#7D7814 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.113 H 106.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D7814
RGBrgb(125, 120, 20)
HSLhsl(57, 72%, 28%)
HSVhsv(57, 84%, 49%)
CMYKcmyk(0%, 4%, 84%, 51%)
CIE-LABlab(49.31, -9.50, 50.24)
CIE-LCHlch(49.31, 51.13, 100.70°)
OKLaboklab(55.97% -0.032 0.1085)
OKLCHoklch(55.97% 0.113 106.5)
XYZxyz(15.3008, 17.8440, 3.2999)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7814 #14197D
analogous
#7D4314 #7D7814 #4D7D14
triadic
#7D7814 #147D78 #78147D
tetradic
#7D7814 #147D43 #14197D #7D144D
square
#7D7814 #147D43 #14197D #7D144D
split-complementary
#7D7814 #144D7D #43147D
monochromatic
#1A1904 #48450C #7D7814 #B2AB1C #DED52E

Accessibility & contrast

On white

4.60
#7D7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D7814 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7814
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7814#FFFFFF#000000##FFFFFF
##7D78141.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85771D
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7814;
/* rgb */ color: rgb(125, 120, 20);
/* oklch */ color: oklch(56.0% 0.113 106.5);
Tailwind
colors: {
  custom: {
    50: '#a69e5d',
    500: '#7d7814',
    950: '#000000',
  },
}
SCSS
$custom: #7d7814;
$custom-light: #a69e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7814",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 57.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.1131,
    "h": 106.5
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#7D7814
secondary
#3A40B2
accent
#41EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7814

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

Preview Lab → · Contrast checker → · Palette generator →

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