#7E6E18#7E6E18

#7E6E18 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.102 H 98.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E6E18
RGBrgb(126, 110, 24)
HSLhsl(51, 68%, 29%)
HSVhsv(51, 81%, 49%)
CMYKcmyk(0%, 12.7%, 81%, 50.6%)
CIE-LABlab(46.52, -3.26, 46.52)
CIE-LCHlch(46.52, 46.64, 94.01°)
OKLaboklab(53.79% -0.0142 0.1013)
OKLCHoklch(53.79% 0.102 98)
XYZxyz(14.3457, 15.6542, 3.1299)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E18 #18287E
analogous
#7E3B18 #7E6E18 #5B7E18
triadic
#7E6E18 #187E6E #6E187E
tetradic
#7E6E18 #187E3B #18287E #7E185B
square
#7E6E18 #187E3B #18287E #7E185B
split-complementary
#7E6E18 #185B7E #3B187E
monochromatic
#1A1605 #4B410E #7E6E18 #B19B22 #D9C037

Accessibility & contrast

On white

5.08
#7E6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E18
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E18#FFFFFF#000000##FFFFFF
##7E6E181.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#89655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e18;
/* rgb */ color: rgb(126, 110, 24);
/* oklch */ color: oklch(53.8% 0.102 98.0);
Tailwind
colors: {
  custom: {
    50: '#a7975d',
    500: '#7e6e18',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e18;
$custom-light: #a7975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e18",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 50.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.10224,
    "h": 98
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#7E6E18
secondary
#3F51B2
accent
#58EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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