#7F6814#7F6814

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

Color values

HEX#7F6814
RGBrgb(127, 104, 20)
HSLhsl(47, 73%, 29%)
HSVhsv(47, 84%, 50%)
CMYKcmyk(0%, 18.1%, 84.3%, 50.2%)
CIE-LABlab(44.89, 0.52, 46.48)
CIE-LCHlch(44.89, 46.49, 89.36°)
OKLaboklab(52.52% -0.004 0.1002)
OKLCHoklch(52.52% 0.1 92.3)
XYZxyz(13.8298, 14.4640, 2.7251)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6814 #142B7F
analogous
#7F3314 #7F6814 #617F14
triadic
#7F6814 #147F68 #68147F
tetradic
#7F6814 #147F33 #142B7F #7F1461
square
#7F6814 #147F33 #142B7F #7F1461
split-complementary
#7F6814 #14617F #33147F
monochromatic
#1A1604 #4A3D0C #7F6814 #B4931C #DEB92F

Accessibility & contrast

On white

5.39
#7F6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7F6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6814
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6814#FFFFFF#000000##FFFFFF
##7F68141.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#7A6D1A
Tritanopia (blue-blind)
#8A5F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f6814;
/* rgb */ color: rgb(127, 104, 20);
/* oklch */ color: oklch(52.5% 0.100 92.3);
Tailwind
colors: {
  custom: {
    50: '#a8925a',
    500: '#7f6814',
    950: '#000000',
  },
}
SCSS
$custom: #7f6814;
$custom-light: #a8925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6814",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 47.103,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.1003,
    "h": 92.3
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#7F6814
secondary
#3B55B4
accent
#60EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7F6814

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

Preview Lab → · Contrast checker → · Palette generator →

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