#7D6915#7D6915

#7D6915 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.100 H 94.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D6915
RGBrgb(125, 105, 21)
HSLhsl(48, 71%, 29%)
HSVhsv(48, 83%, 49%)
CMYKcmyk(0%, 16%, 83.2%, 51%)
CIE-LABlab(44.97, -0.98, 46.13)
CIE-LCHlch(44.97, 46.14, 91.22°)
OKLaboklab(52.53% -0.008 0.0998)
OKLCHoklch(52.53% 0.1 94.6)
XYZxyz(13.6452, 14.5181, 2.7929)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6915 #15297D
analogous
#7D3515 #7D6915 #5D7D15
triadic
#7D6915 #157D69 #69157D
tetradic
#7D6915 #157D35 #15297D #7D155D
square
#7D6915 #157D35 #15297D #7D155D
split-complementary
#7D6915 #155D7D #35157D
monochromatic
#1A1604 #493D0C #7D6915 #B1951E #DCBB30

Accessibility & contrast

On white

5.38
#7D6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6915
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6915#FFFFFF#000000##FFFFFF
##7D69151.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6915;
/* rgb */ color: rgb(125, 105, 21);
/* oklch */ color: oklch(52.5% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#a6935b',
    500: '#7d6915',
    950: '#000000',
  },
}
SCSS
$custom: #7d6915;
$custom-light: #a6935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6915",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 48.462,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.10012,
    "h": 94.6
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#7D6915
secondary
#3C52B2
accent
#5CEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6915

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

Preview Lab → · Contrast checker → · Palette generator →

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