#7D7E13#7D7E13

#7D7E13 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.120 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7E13
RGBrgb(125, 126, 19)
HSLhsl(61, 74%, 28%)
HSVhsv(61, 85%, 49%)
CMYKcmyk(0.8%, 0%, 84.9%, 50.6%)
CIE-LABlab(51.07, -12.81, 52.03)
CIE-LCHlch(51.07, 53.59, 103.83°)
OKLaboklab(57.38% -0.0413 0.1122)
OKLCHoklch(57.38% 0.12 110.2)
XYZxyz(16.0365, 19.3292, 3.5021)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E13 #14137E
analogous
#7E4913 #7D7E13 #477E13
triadic
#7D7E13 #137D7E #7E137D
tetradic
#7D7E13 #137E49 #14137E #7E1347
square
#7D7E13 #137E49 #14137E #7E1347
split-complementary
#7D7E13 #13477E #49137E
monochromatic
#1A1B04 #48490B #7D7E13 #B2B31B #DEDF2C

Accessibility & contrast

On white

4.32
#7D7E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7D7E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E13
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E13#FFFFFF#000000##000000
##7D7E131.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e13;
/* rgb */ color: rgb(125, 126, 19);
/* oklch */ color: oklch(57.4% 0.120 110.2);
Tailwind
colors: {
  custom: {
    50: '#a6a35d',
    500: '#7d7e13',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e13;
$custom-light: #a6a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e13",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 60.561,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.11953,
    "h": 110.2
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#7D7E13
secondary
#3A39B4
accent
#37F039
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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