#7F6615#7F6615

#7F6615 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.099 H 90.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F6615
RGBrgb(127, 102, 21)
HSLhsl(46, 72%, 29%)
HSVhsv(46, 83%, 50%)
CMYKcmyk(0%, 19.7%, 83.5%, 50.2%)
CIE-LABlab(44.33, 1.72, 45.65)
CIE-LCHlch(44.33, 45.69, 87.84°)
OKLaboklab(52.08% -0.0004 0.0987)
OKLCHoklch(52.08% 0.099 90.3)
XYZxyz(13.6400, 14.0698, 2.7066)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6615 #152E7F
analogous
#7F3115 #7F6615 #637F15
triadic
#7F6615 #157F66 #66157F
tetradic
#7F6615 #157F31 #152E7F #7F1563
square
#7F6615 #157F31 #152E7F #7F1563
split-complementary
#7F6615 #15637F #31157F
monochromatic
#1A1504 #4A3C0C #7F6615 #B4901E #DDB531

Accessibility & contrast

On white

5.51
#7F6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6615
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6615#FFFFFF#000000##FFFFFF
##7F66151.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#8A5C57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6615;
/* rgb */ color: rgb(127, 102, 21);
/* oklch */ color: oklch(52.1% 0.099 90.3);
Tailwind
colors: {
  custom: {
    50: '#a8915b',
    500: '#7f6615',
    950: '#000000',
  },
}
SCSS
$custom: #7f6615;
$custom-light: #a8915b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6615",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 45.849,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.09865,
    "h": 90.3
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#7F6615
secondary
#3C58B4
accent
#64EE39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6615

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

Preview Lab → · Contrast checker → · Palette generator →

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