#7F6915#7F6915

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

Color values

HEX#7F6915
RGBrgb(127, 105, 21)
HSLhsl(48, 72%, 29%)
HSVhsv(48, 83%, 50%)
CMYKcmyk(0%, 17.3%, 83.5%, 50.2%)
CIE-LABlab(45.18, -0.02, 46.40)
CIE-LCHlch(45.18, 46.40, 90.03°)
OKLaboklab(52.75% -0.0054 0.1003)
OKLCHoklch(52.75% 0.1 93.1)
XYZxyz(13.9401, 14.6702, 2.8067)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6915 #152B7F
analogous
#7F3415 #7F6915 #607F15
triadic
#7F6915 #157F69 #69157F
tetradic
#7F6915 #157F34 #152B7F #7F1560
square
#7F6915 #157F34 #152B7F #7F1560
split-complementary
#7F6915 #15607F #34157F
monochromatic
#1A1604 #4A3E0C #7F6915 #B4941E #DDB931

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6915#FFFFFF#000000##FFFFFF
##7F69151.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)
#756701
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#8A6059
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f6915;
/* rgb */ color: rgb(127, 105, 21);
/* oklch */ color: oklch(52.7% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#a8935b',
    500: '#7f6915',
    950: '#000000',
  },
}
SCSS
$custom: #7f6915;
$custom-light: #a8935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6915",
  "rgb": {
    "r": 127,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 47.547,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.10041,
    "h": 93.1
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#7F6915
secondary
#3C55B4
accent
#5FEE39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6915

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

Preview Lab → · Contrast checker → · Palette generator →

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