#7E7B13#7E7B13

#7E7B13 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.116 H 107.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7B13
RGBrgb(126, 123, 19)
HSLhsl(58, 74%, 28%)
HSVhsv(58, 85%, 49%)
CMYKcmyk(0%, 2.4%, 84.9%, 50.6%)
CIE-LABlab(50.27, -10.71, 51.39)
CIE-LCHlch(50.27, 52.49, 101.77°)
OKLaboklab(56.77% -0.0355 0.1107)
OKLCHoklch(56.77% 0.116 107.8)
XYZxyz(15.8053, 18.6491, 3.3831)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7B13 #13167E
analogous
#7E4513 #7E7B13 #4B7E13
triadic
#7E7B13 #137E7B #7B137E
tetradic
#7E7B13 #137E45 #13167E #7E134B
square
#7E7B13 #137E45 #13167E #7E134B
split-complementary
#7E7B13 #134B7E #45137E
monochromatic
#1B1A04 #49470B #7E7B13 #B3AF1B #DFDA2C

Accessibility & contrast

On white

4.44
#7E7B13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7E7B13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7B13
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7B13#FFFFFF#000000##000000
##7E7B131.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#88791D
Tritanopia (blue-blind)
#887269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7b13;
/* rgb */ color: rgb(126, 123, 19);
/* oklch */ color: oklch(56.8% 0.116 107.8);
Tailwind
colors: {
  custom: {
    50: '#a7a05d',
    500: '#7e7b13',
    950: '#000000',
  },
}
SCSS
$custom: #7e7b13;
$custom-light: #a7a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7b13",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 58.318,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.11627,
    "h": 107.8
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#7E7B13
secondary
#393DB4
accent
#3DF037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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