#7D7F14#7D7F14

#7D7F14 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.120 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D7F14
RGBrgb(125, 127, 20)
HSLhsl(61, 73%, 29%)
HSVhsv(61, 84%, 50%)
CMYKcmyk(1.6%, 0%, 84.3%, 50.2%)
CIE-LABlab(51.37, -13.32, 52.02)
CIE-LCHlch(51.37, 53.70, 104.36°)
OKLaboklab(57.62% -0.0426 0.1123)
OKLCHoklch(57.62% 0.12 110.8)
XYZxyz(16.1737, 19.5897, 3.5909)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F14 #16147F
analogous
#7F4C14 #7D7F14 #487F14
triadic
#7D7F14 #147D7F #7F147D
tetradic
#7D7F14 #147F4C #16147F #7F1448
square
#7D7F14 #147F4C #16147F #7F1448
split-complementary
#7D7F14 #14487F #4C147F
monochromatic
#1A1A04 #494A0C #7D7F14 #B1B41C #DBDE2F

Accessibility & contrast

On white

4.27
#7D7F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7D7F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7F14
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7F14#FFFFFF#000000##000000
##7D7F141.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f14;
/* rgb */ color: rgb(125, 127, 20);
/* oklch */ color: oklch(57.6% 0.120 110.8);
Tailwind
colors: {
  custom: {
    50: '#a6a35e',
    500: '#7d7f14',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f14;
$custom-light: #a6a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f14",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 61.121,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.12013,
    "h": 110.8
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#7D7F14
secondary
#3D3BB4
accent
#38EF3C
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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