#7E6310#7E6310

#7E6310 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.3% C 0.099 H 88.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7E6310
RGBrgb(126, 99, 16)
HSLhsl(45, 77%, 28%)
HSVhsv(45, 87%, 49%)
CMYKcmyk(0%, 21.4%, 87.3%, 50.6%)
CIE-LABlab(43.36, 2.82, 46.39)
CIE-LCHlch(43.36, 46.48, 86.52°)
OKLaboklab(51.28% 0.0023 0.0992)
OKLCHoklch(51.28% 0.099 88.7)
XYZxyz(13.1604, 13.3976, 2.3830)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6310 #102B7E
analogous
#7E2C10 #7E6310 #627E10
triadic
#7E6310 #107E63 #63107E
tetradic
#7E6310 #107E2C #102B7E #7E1062
square
#7E6310 #107E2C #102B7E #7E1062
split-complementary
#7E6310 #10627E #2C107E
monochromatic
#1B1503 #483809 #7E6310 #B48E17 #E3B525

Accessibility & contrast

On white

5.71
#7E6310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7E6310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6310
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6310#FFFFFF#000000##FFFFFF
##7E63101.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#776916
Tritanopia (blue-blind)
#895954
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e6310;
/* rgb */ color: rgb(126, 99, 16);
/* oklch */ color: oklch(51.3% 0.099 88.7);
Tailwind
colors: {
  custom: {
    50: '#a88f58',
    500: '#7e6310',
    950: '#000000',
  },
}
SCSS
$custom: #7e6310;
$custom-light: #a88f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6310",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 45.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.0992,
    "h": 88.7
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#7E6310
secondary
#3655B4
accent
#63F434
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6310

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

Preview Lab → · Contrast checker → · Palette generator →

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