#7C6915#7C6915

#7C6915 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.100 H 95.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C6915
RGBrgb(124, 105, 21)
HSLhsl(49, 71%, 28%)
HSVhsv(49, 83%, 49%)
CMYKcmyk(0%, 15.3%, 83.1%, 51.4%)
CIE-LABlab(44.86, -1.46, 46.00)
CIE-LCHlch(44.86, 46.02, 91.82°)
OKLaboklab(52.42% -0.0093 0.0996)
OKLCHoklch(52.42% 0.1 95.3)
XYZxyz(13.4999, 14.4432, 2.7861)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6915 #15287C
analogous
#7C3515 #7C6915 #5B7C15
triadic
#7C6915 #157C69 #69157C
tetradic
#7C6915 #157C35 #15287C #7C155B
square
#7C6915 #157C35 #15287C #7C155B
split-complementary
#7C6915 #155B7C #35157C
monochromatic
#1A1604 #483D0C #7C6915 #B0951E #DCBC30

Accessibility & contrast

On white

5.40
#7C6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6915
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6915#FFFFFF#000000##FFFFFF
##7C69151.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#876059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c6915;
/* rgb */ color: rgb(124, 105, 21);
/* oklch */ color: oklch(52.4% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#a6935b',
    500: '#7c6915',
    950: '#000000',
  },
}
SCSS
$custom: #7c6915;
$custom-light: #a6935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6915",
  "rgb": {
    "r": 124,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 48.932,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.1,
    "h": 95.3
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#7C6915
secondary
#3C51B1
accent
#5BEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6915

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

Preview Lab → · Contrast checker → · Palette generator →

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