#7E7010#7E7010

#7E7010 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.108 H 100.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E7010
RGBrgb(126, 112, 16)
HSLhsl(52, 77%, 28%)
HSVhsv(52, 87%, 49%)
CMYKcmyk(0%, 11.1%, 87.3%, 50.6%)
CIE-LABlab(47.06, -4.67, 49.49)
CIE-LCHlch(47.06, 49.71, 95.39°)
OKLaboklab(54.2% -0.0189 0.106)
OKLCHoklch(54.2% 0.108 100.1)
XYZxyz(14.4926, 16.0621, 2.8270)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7010 #101E7E
analogous
#7E3910 #7E7010 #557E10
triadic
#7E7010 #107E70 #70107E
tetradic
#7E7010 #107E39 #101E7E #7E1055
square
#7E7010 #107E39 #101E7E #7E1055
split-complementary
#7E7010 #10557E #39107E
monochromatic
#1B1803 #484009 #7E7010 #B4A017 #E3CB25

Accessibility & contrast

On white

4.99
#7E7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7E7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7010
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7010#FFFFFF#000000##FFFFFF
##7E70101.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#807219
Tritanopia (blue-blind)
#89675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7010;
/* rgb */ color: rgb(126, 112, 16);
/* oklch */ color: oklch(54.2% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#a7985a',
    500: '#7e7010',
    950: '#000000',
  },
}
SCSS
$custom: #7e7010;
$custom-light: #a7985a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7010",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 52.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.10765,
    "h": 100.1
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#7E7010
secondary
#3646B4
accent
#4CF434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7010

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

Preview Lab → · Contrast checker → · Palette generator →

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