#7E7A11#7E7A11

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

Color values

HEX#7E7A11
RGBrgb(126, 122, 17)
HSLhsl(58, 76%, 28%)
HSVhsv(58, 87%, 49%)
CMYKcmyk(0%, 3.2%, 86.5%, 50.6%)
CIE-LABlab(49.97, -10.22, 51.67)
CIE-LCHlch(49.97, 52.67, 101.19°)
OKLaboklab(56.52% -0.0343 0.1109)
OKLCHoklch(56.52% 0.116 107.2)
XYZxyz(15.6656, 18.3957, 3.2557)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A11 #11157E
analogous
#7E4311 #7E7A11 #4B7E11
triadic
#7E7A11 #117E7A #7A117E
tetradic
#7E7A11 #117E43 #11157E #7E114B
square
#7E7A11 #117E43 #11157E #7E114B
split-complementary
#7E7A11 #114B7E #43117E
monochromatic
#1B1A04 #48460A #7E7A11 #B4AE18 #E2DB27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7A11#FFFFFF#000000##000000
##7E7A111.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)
#87791C
Tritanopia (blue-blind)
#887168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e7a11;
/* rgb */ color: rgb(126, 122, 17);
/* oklch */ color: oklch(56.5% 0.116 107.2);
Tailwind
colors: {
  custom: {
    50: '#a7a05c',
    500: '#7e7a11',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a11;
$custom-light: #a7a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a11",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 17
  },
  "hsl": {
    "h": 57.798,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.11613,
    "h": 107.2
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#7E7A11
secondary
#373BB4
accent
#3CF335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7A11

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

Preview Lab → · Contrast checker → · Palette generator →

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