#7D7E14#7D7E14

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

Color values

HEX#7D7E14
RGBrgb(125, 126, 20)
HSLhsl(61, 73%, 29%)
HSVhsv(61, 84%, 49%)
CMYKcmyk(0.8%, 0%, 84.1%, 50.6%)
CIE-LABlab(51.07, -12.78, 51.76)
CIE-LCHlch(51.07, 53.32, 103.86°)
OKLaboklab(57.39% -0.0411 0.1118)
OKLCHoklch(57.39% 0.119 110.2)
XYZxyz(16.0452, 19.3327, 3.5481)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E14 #15147E
analogous
#7E4A14 #7D7E14 #487E14
triadic
#7D7E14 #147D7E #7E147D
tetradic
#7D7E14 #147E4A #15147E #7E1448
square
#7D7E14 #147E4A #15147E #7E1448
split-complementary
#7D7E14 #14487E #4A147E
monochromatic
#1A1A04 #49490C #7D7E14 #B1B31C #DCDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7E14#FFFFFF#000000##000000
##7D7E141.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: #7d7e14;
/* rgb */ color: rgb(125, 126, 20);
/* oklch */ color: oklch(57.4% 0.119 110.2);
Tailwind
colors: {
  custom: {
    50: '#a6a35e',
    500: '#7d7e14',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e14;
$custom-light: #a6a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e14",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 60.566,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.11909,
    "h": 110.2
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#7D7E14
secondary
#3C3AB3
accent
#38EF3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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