#7E7A13#7E7A13

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

Color values

HEX#7E7A13
RGBrgb(126, 122, 19)
HSLhsl(58, 74%, 28%)
HSVhsv(58, 85%, 49%)
CMYKcmyk(0%, 3.2%, 84.9%, 50.6%)
CIE-LABlab(49.98, -10.16, 51.14)
CIE-LCHlch(49.98, 52.14, 101.24°)
OKLaboklab(56.53% -0.034 0.1102)
OKLCHoklch(56.53% 0.115 107.2)
XYZxyz(15.6819, 18.4023, 3.3419)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A13 #13177E
analogous
#7E4413 #7E7A13 #4C7E13
triadic
#7E7A13 #137E7A #7A137E
tetradic
#7E7A13 #137E44 #13177E #7E134C
square
#7E7A13 #137E44 #13177E #7E134C
split-complementary
#7E7A13 #134C7E #44137E
monochromatic
#1B1A04 #49470B #7E7A13 #B3AD1B #DFD92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e7a13;
/* rgb */ color: rgb(126, 122, 19);
/* oklch */ color: oklch(56.5% 0.115 107.2);
Tailwind
colors: {
  custom: {
    50: '#a7a05d',
    500: '#7e7a13',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a13;
$custom-light: #a7a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a13",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 19
  },
  "hsl": {
    "h": 57.757,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.1153,
    "h": 107.2
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#7E7A13
secondary
#393EB4
accent
#3EF037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7A13

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

Preview Lab → · Contrast checker → · Palette generator →

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