#7E6919#7E6919

#7E6919 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.7% C 0.098 H 93.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E6919
RGBrgb(126, 105, 25)
HSLhsl(48, 67%, 30%)
HSVhsv(48, 80%, 49%)
CMYKcmyk(0%, 16.7%, 80.2%, 50.6%)
CIE-LABlab(45.10, -0.34, 44.86)
CIE-LCHlch(45.10, 44.86, 90.44°)
OKLaboklab(52.66% -0.0058 0.0979)
OKLCHoklch(52.66% 0.098 93.4)
XYZxyz(13.8320, 14.6098, 3.0109)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6919 #192E7E
analogous
#7E3719 #7E6919 #607E19
triadic
#7E6919 #197E69 #69197E
tetradic
#7E6919 #197E37 #192E7E #7E1960
square
#7E6919 #197E37 #192E7E #7E1960
split-complementary
#7E6919 #19607E #37197E
monochromatic
#1A1505 #4B3E0F #7E6919 #B19423 #D8B73A

Accessibility & contrast

On white

5.35
#7E6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E6919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6919
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6919#FFFFFF#000000##FFFFFF
##7E69191.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756709
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#89605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6919;
/* rgb */ color: rgb(126, 105, 25);
/* oklch */ color: oklch(52.7% 0.098 93.4);
Tailwind
colors: {
  custom: {
    50: '#a7935d',
    500: '#7e6919',
    950: '#000000',
  },
}
SCSS
$custom: #7e6919;
$custom-light: #a7935d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6919",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 47.525,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.09807,
    "h": 93.4
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#7E6919
secondary
#4158B2
accent
#62EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6919

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

Preview Lab → · Contrast checker → · Palette generator →

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