#7E6910#7E6910

#7E6910 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.103 H 94.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6910
RGBrgb(126, 105, 16)
HSLhsl(49, 77%, 28%)
HSVhsv(49, 87%, 49%)
CMYKcmyk(0%, 16.7%, 87.3%, 50.6%)
CIE-LABlab(45.05, -0.67, 47.82)
CIE-LCHlch(45.05, 47.82, 90.80°)
OKLaboklab(52.61% -0.0076 0.1023)
OKLCHoklch(52.61% 0.103 94.3)
XYZxyz(13.7501, 14.5770, 2.5795)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6910 #10257E
analogous
#7E3210 #7E6910 #5C7E10
triadic
#7E6910 #107E69 #69107E
tetradic
#7E6910 #107E32 #10257E #7E105C
square
#7E6910 #107E32 #10257E #7E105C
split-complementary
#7E6910 #105C7E #32107E
monochromatic
#1B1703 #483C09 #7E6910 #B49617 #E3BF25

Accessibility & contrast

On white

5.36
#7E6910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6910
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6910#FFFFFF#000000##FFFFFF
##7E69101.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7B6D17
Tritanopia (blue-blind)
#896059
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6910;
/* rgb */ color: rgb(126, 105, 16);
/* oklch */ color: oklch(52.6% 0.103 94.3);
Tailwind
colors: {
  custom: {
    50: '#a79359',
    500: '#7e6910',
    950: '#000000',
  },
}
SCSS
$custom: #7e6910;
$custom-light: #a79359;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6910",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 48.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.10257,
    "h": 94.3
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#7E6910
secondary
#364EB4
accent
#59F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6910

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

Preview Lab → · Contrast checker → · Palette generator →

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