#7D7214#7D7214

#7D7214 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.108 H 102.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D7214
RGBrgb(125, 114, 20)
HSLhsl(54, 72%, 28%)
HSVhsv(54, 84%, 49%)
CMYKcmyk(0%, 8.8%, 84%, 51%)
CIE-LABlab(47.55, -6.15, 48.72)
CIE-LCHlch(47.55, 49.11, 97.20°)
OKLaboklab(54.58% -0.0227 0.1052)
OKLCHoklch(54.58% 0.108 102.2)
XYZxyz(14.6017, 16.4458, 3.0669)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7214 #141F7D
analogous
#7D3D14 #7D7214 #537D14
triadic
#7D7214 #147D72 #72147D
tetradic
#7D7214 #147D3D #141F7D #7D1453
square
#7D7214 #147D3D #141F7D #7D1453
split-complementary
#7D7214 #14537D #3D147D
monochromatic
#1A1804 #48420C #7D7214 #B2A21C #DECB2E

Accessibility & contrast

On white

4.90
#7D7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D7214
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7214#FFFFFF#000000##FFFFFF
##7D72141.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7214;
/* rgb */ color: rgb(125, 114, 20);
/* oklch */ color: oklch(54.6% 0.108 102.2);
Tailwind
colors: {
  custom: {
    50: '#a69a5c',
    500: '#7d7214',
    950: '#000000',
  },
}
SCSS
$custom: #7d7214;
$custom-light: #a69a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7214",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 53.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.1076,
    "h": 102.2
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#7D7214
secondary
#3A47B2
accent
#4CEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7D7214

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

Preview Lab → · Contrast checker → · Palette generator →

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