#7F6715#7F6715

#7F6715 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.099 H 91.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6715
RGBrgb(127, 103, 21)
HSLhsl(46, 72%, 29%)
HSVhsv(46, 83%, 50%)
CMYKcmyk(0%, 18.9%, 83.5%, 50.2%)
CIE-LABlab(44.61, 1.14, 45.90)
CIE-LCHlch(44.61, 45.92, 88.58°)
OKLaboklab(52.3% -0.0021 0.0992)
OKLCHoklch(52.3% 0.099 91.2)
XYZxyz(13.7388, 14.2675, 2.7396)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6715 #152D7F
analogous
#7F3215 #7F6715 #627F15
triadic
#7F6715 #157F67 #67157F
tetradic
#7F6715 #157F32 #152D7F #7F1562
square
#7F6715 #157F32 #152D7F #7F1562
split-complementary
#7F6715 #15627F #32157F
monochromatic
#1A1504 #4A3C0C #7F6715 #B4921E #DDB631

Accessibility & contrast

On white

5.45
#7F6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6715
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6715#FFFFFF#000000##FFFFFF
##7F67151.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#7A6C1A
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6715;
/* rgb */ color: rgb(127, 103, 21);
/* oklch */ color: oklch(52.3% 0.099 91.2);
Tailwind
colors: {
  custom: {
    50: '#a8925b',
    500: '#7f6715',
    950: '#000000',
  },
}
SCSS
$custom: #7f6715;
$custom-light: #a8925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6715",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 46.415,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.09921,
    "h": 91.2
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#7F6715
secondary
#3C57B4
accent
#62EE39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6715

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

Preview Lab → · Contrast checker → · Palette generator →

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