#7E7A14#7E7A14

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

Color values

HEX#7E7A14
RGBrgb(126, 122, 20)
HSLhsl(58, 73%, 29%)
HSVhsv(58, 84%, 49%)
CMYKcmyk(0%, 3.2%, 84.1%, 50.6%)
CIE-LABlab(49.98, -10.13, 50.86)
CIE-LCHlch(49.98, 51.86, 101.26°)
OKLaboklab(56.54% -0.0338 0.1098)
OKLCHoklch(56.54% 0.115 107.1)
XYZxyz(15.6907, 18.4058, 3.3878)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A14 #14187E
analogous
#7E4514 #7E7A14 #4D7E14
triadic
#7E7A14 #147E7A #7A147E
tetradic
#7E7A14 #147E45 #14187E #7E144D
square
#7E7A14 #147E45 #14187E #7E144D
split-complementary
#7E7A14 #144D7E #45147E
monochromatic
#1A1A04 #49470C #7E7A14 #B3AD1C #DED72E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e7a14;
/* rgb */ color: rgb(126, 122, 20);
/* oklch */ color: oklch(56.5% 0.115 107.1);
Tailwind
colors: {
  custom: {
    50: '#a7a05d',
    500: '#7e7a14',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a14;
$custom-light: #a7a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a14",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 57.736,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.11486,
    "h": 107.1
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#7E7A14
secondary
#3A3FB3
accent
#3FEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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