#7D7F13#7D7F13

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

Color values

HEX#7D7F13
RGBrgb(125, 127, 19)
HSLhsl(61, 74%, 29%)
HSVhsv(61, 85%, 50%)
CMYKcmyk(1.6%, 0%, 85%, 50.2%)
CIE-LABlab(51.37, -13.35, 52.29)
CIE-LCHlch(51.37, 53.96, 104.32°)
OKLaboklab(57.62% -0.0428 0.1127)
OKLCHoklch(57.62% 0.121 110.8)
XYZxyz(16.1650, 19.5862, 3.5450)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F13 #15137F
analogous
#7F4B13 #7D7F13 #477F13
triadic
#7D7F13 #137D7F #7F137D
tetradic
#7D7F13 #137F4B #15137F #7F1347
square
#7D7F13 #137F4B #15137F #7F1347
split-complementary
#7D7F13 #13477F #4B137F
monochromatic
#1A1B04 #494A0B #7D7F13 #B1B41B #DCE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7F13#FFFFFF#000000##000000
##7D7F131.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)
#8B7C1E
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f13;
/* rgb */ color: rgb(125, 127, 19);
/* oklch */ color: oklch(57.6% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#a6a35d',
    500: '#7d7f13',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f13;
$custom-light: #a6a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f13",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 61.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.12055,
    "h": 110.8
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#7D7F13
secondary
#3C39B4
accent
#37F13B
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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