#7E7314#7E7314

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

Color values

HEX#7E7314
RGBrgb(126, 115, 20)
HSLhsl(54, 73%, 29%)
HSVhsv(54, 84%, 49%)
CMYKcmyk(0%, 8.7%, 84.1%, 50.6%)
CIE-LABlab(47.94, -6.24, 49.10)
CIE-LCHlch(47.94, 49.49, 97.24°)
OKLaboklab(54.91% -0.023 0.1059)
OKLCHoklch(54.91% 0.108 102.2)
XYZxyz(14.8619, 16.7483, 3.1116)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7314 #141F7E
analogous
#7E3E14 #7E7314 #547E14
triadic
#7E7314 #147E73 #73147E
tetradic
#7E7314 #147E3E #141F7E #7E1454
square
#7E7314 #147E3E #141F7E #7E1454
split-complementary
#7E7314 #14547E #3E147E
monochromatic
#1A1804 #49430C #7E7314 #B3A31C #DECC2E

Accessibility & contrast

On white

4.83
#7E7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7314
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7314#FFFFFF#000000##FFFFFF
##7E73141.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#82741C
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7314;
/* rgb */ color: rgb(126, 115, 20);
/* oklch */ color: oklch(54.9% 0.108 102.2);
Tailwind
colors: {
  custom: {
    50: '#a79a5c',
    500: '#7e7314',
    950: '#000000',
  },
}
SCSS
$custom: #7e7314;
$custom-light: #a79a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7314",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 53.774,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.1084,
    "h": 102.2
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#7E7314
secondary
#3A47B3
accent
#4BEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7314

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

Preview Lab → · Contrast checker → · Palette generator →

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