#7E7914#7E7914

#7E7914 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.114 H 106.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E7914
RGBrgb(126, 121, 20)
HSLhsl(57, 73%, 29%)
HSVhsv(57, 84%, 49%)
CMYKcmyk(0%, 4%, 84.1%, 50.6%)
CIE-LABlab(49.69, -9.58, 50.61)
CIE-LCHlch(49.69, 51.51, 100.72°)
OKLaboklab(56.3% -0.0323 0.1092)
OKLCHoklch(56.3% 0.114 106.5)
XYZxyz(15.5685, 18.1615, 3.3471)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7914 #14197E
analogous
#7E4414 #7E7914 #4E7E14
triadic
#7E7914 #147E79 #79147E
tetradic
#7E7914 #147E44 #14197E #7E144E
square
#7E7914 #147E44 #14197E #7E144E
split-complementary
#7E7914 #144E7E #44147E
monochromatic
#1A1904 #49460C #7E7914 #B3AC1C #DED62E

Accessibility & contrast

On white

4.53
#7E7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7E7914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7914
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7914#FFFFFF#000000##000000
##7E79141.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7914;
/* rgb */ color: rgb(126, 121, 20);
/* oklch */ color: oklch(56.3% 0.114 106.5);
Tailwind
colors: {
  custom: {
    50: '#a79f5d',
    500: '#7e7914',
    950: '#000000',
  },
}
SCSS
$custom: #7e7914;
$custom-light: #a79f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7914",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 57.17,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.11389,
    "h": 106.5
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

primary
#7E7914
secondary
#3A40B3
accent
#41EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7914

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

Preview Lab → · Contrast checker → · Palette generator →

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