#7E7A10#7E7A10

#7E7A10 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.117 H 107.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E7A10
RGBrgb(126, 122, 16)
HSLhsl(58, 77%, 28%)
HSVhsv(58, 87%, 49%)
CMYKcmyk(0%, 3.2%, 87.3%, 50.6%)
CIE-LABlab(49.97, -10.25, 51.92)
CIE-LCHlch(49.97, 52.92, 101.17°)
OKLaboklab(56.52% -0.0345 0.1113)
OKLCHoklch(56.52% 0.117 107.2)
XYZxyz(15.6579, 18.3927, 3.2155)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A10 #10147E
analogous
#7E4310 #7E7A10 #4B7E10
triadic
#7E7A10 #107E7A #7A107E
tetradic
#7E7A10 #107E43 #10147E #7E104B
square
#7E7A10 #107E43 #10147E #7E104B
split-complementary
#7E7A10 #104B7E #43107E
monochromatic
#1B1A03 #484509 #7E7A10 #B4AF17 #E3DC25

Accessibility & contrast

On white

4.49
#7E7A10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E7A10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A10
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A10#FFFFFF#000000##000000
##7E7A101.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87791B
Tritanopia (blue-blind)
#887168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e7a10;
/* rgb */ color: rgb(126, 122, 16);
/* oklch */ color: oklch(56.5% 0.117 107.2);
Tailwind
colors: {
  custom: {
    50: '#a7a05c',
    500: '#7e7a10',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a10;
$custom-light: #a7a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a10",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 16
  },
  "hsl": {
    "h": 57.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.11652,
    "h": 107.2
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#7E7A10
secondary
#363AB4
accent
#3BF434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7A10

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

Preview Lab → · Contrast checker → · Palette generator →

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