#7F7214#7F7214

#7F7214 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.108 H 100.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7F7214
RGBrgb(127, 114, 20)
HSLhsl(53, 73%, 29%)
HSVhsv(53, 84%, 50%)
CMYKcmyk(0%, 10.2%, 84.3%, 50.2%)
CIE-LABlab(47.75, -5.20, 48.97)
CIE-LCHlch(47.75, 49.24, 96.06°)
OKLaboklab(54.78% -0.0201 0.1056)
OKLCHoklch(54.78% 0.108 100.8)
XYZxyz(14.8967, 16.5979, 3.0807)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7214 #14217F
analogous
#7F3D14 #7F7214 #577F14
triadic
#7F7214 #147F72 #72147F
tetradic
#7F7214 #147F3D #14217F #7F1457
square
#7F7214 #147F3D #14217F #7F1457
split-complementary
#7F7214 #14577F #3D147F
monochromatic
#1A1804 #4A430C #7F7214 #B4A11C #DEC92F

Accessibility & contrast

On white

4.86
#7F7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7F7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7214
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7214#FFFFFF#000000##FFFFFF
##7F72141.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f7214;
/* rgb */ color: rgb(127, 114, 20);
/* oklch */ color: oklch(54.8% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#a89a5c',
    500: '#7f7214',
    950: '#000000',
  },
}
SCSS
$custom: #7f7214;
$custom-light: #a89a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7214",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 52.71,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.10751,
    "h": 100.8
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#7F7214
secondary
#3B49B4
accent
#4FEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7214

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

Preview Lab → · Contrast checker → · Palette generator →

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