#7D6914#7D6914

#7D6914 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.101 H 94.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D6914
RGBrgb(125, 105, 20)
HSLhsl(49, 72%, 28%)
HSVhsv(49, 84%, 49%)
CMYKcmyk(0%, 16%, 84%, 51%)
CIE-LABlab(44.96, -1.02, 46.46)
CIE-LCHlch(44.96, 46.47, 91.25°)
OKLaboklab(52.52% -0.0082 0.1003)
OKLCHoklch(52.52% 0.101 94.7)
XYZxyz(13.6361, 14.5144, 2.7450)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6914 #14287D
analogous
#7D3414 #7D6914 #5C7D14
triadic
#7D6914 #147D69 #69147D
tetradic
#7D6914 #147D34 #14287D #7D145C
square
#7D6914 #147D34 #14287D #7D145C
split-complementary
#7D6914 #145C7D #34147D
monochromatic
#1A1604 #483D0C #7D6914 #B2951C #DEBC2E

Accessibility & contrast

On white

5.38
#7D6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6914
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6914#FFFFFF#000000##FFFFFF
##7D69141.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7A6D1A
Tritanopia (blue-blind)
#886059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6914;
/* rgb */ color: rgb(125, 105, 20);
/* oklch */ color: oklch(52.5% 0.101 94.7);
Tailwind
colors: {
  custom: {
    50: '#a6935a',
    500: '#7d6914',
    950: '#000000',
  },
}
SCSS
$custom: #7d6914;
$custom-light: #a6935a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6914",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 48.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.10062,
    "h": 94.7
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#7D6914
secondary
#3A51B2
accent
#5BEF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6914

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

Preview Lab → · Contrast checker → · Palette generator →

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