#7F6914#7F6914

#7F6914 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.101 H 93.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7F6914
RGBrgb(127, 105, 20)
HSLhsl(48, 73%, 29%)
HSVhsv(48, 84%, 50%)
CMYKcmyk(0%, 17.3%, 84.3%, 50.2%)
CIE-LABlab(45.17, -0.06, 46.73)
CIE-LCHlch(45.17, 46.73, 90.07°)
OKLaboklab(52.74% -0.0056 0.1008)
OKLCHoklch(52.74% 0.101 93.2)
XYZxyz(13.9311, 14.6665, 2.7588)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6914 #142A7F
analogous
#7F3414 #7F6914 #607F14
triadic
#7F6914 #147F69 #69147F
tetradic
#7F6914 #147F34 #142A7F #7F1460
square
#7F6914 #147F34 #142A7F #7F1460
split-complementary
#7F6914 #14607F #34147F
monochromatic
#1A1604 #4A3D0C #7F6914 #B4951C #DEBA2F

Accessibility & contrast

On white

5.34
#7F6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7F6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6914
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6914#FFFFFF#000000##FFFFFF
##7F69141.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#7B6E1A
Tritanopia (blue-blind)
#8A6059
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f6914;
/* rgb */ color: rgb(127, 105, 20);
/* oklch */ color: oklch(52.7% 0.101 93.2);
Tailwind
colors: {
  custom: {
    50: '#a8935b',
    500: '#7f6914',
    950: '#000000',
  },
}
SCSS
$custom: #7f6914;
$custom-light: #a8935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6914",
  "rgb": {
    "r": 127,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 47.664,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.1009,
    "h": 93.2
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#7F6914
secondary
#3B54B4
accent
#5EEF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6914

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

Preview Lab → · Contrast checker → · Palette generator →

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