#7D7F1A#7D7F1A

#7D7F1A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.117 H 110.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D7F1A
RGBrgb(125, 127, 26)
HSLhsl(61, 66%, 30%)
HSVhsv(61, 80%, 50%)
CMYKcmyk(1.6%, 0%, 79.5%, 50.2%)
CIE-LABlab(51.40, -13.09, 50.23)
CIE-LCHlch(51.40, 51.91, 104.61°)
OKLaboklab(57.65% -0.0415 0.1096)
OKLCHoklch(57.65% 0.117 110.7)
XYZxyz(16.2339, 19.6138, 3.9078)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F1A #1C1A7F
analogous
#7F4E1A #7D7F1A #4B7F1A
triadic
#7D7F1A #1A7D7F #7F1A7D
tetradic
#7D7F1A #1A7F4E #1C1A7F #7F1A4B
square
#7D7F1A #1A7F4E #1C1A7F #7F1A4B
split-complementary
#7D7F1A #1A4B7F #4E1A7F
monochromatic
#191905 #4B4C10 #7D7F1A #AFB224 #D4D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7F1A#FFFFFF#000000##000000
##7D7F1A1.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)
#8A7C23
Tritanopia (blue-blind)
#86776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f1a;
/* rgb */ color: rgb(125, 127, 26);
/* oklch */ color: oklch(57.7% 0.117 110.7);
Tailwind
colors: {
  custom: {
    50: '#a6a360',
    500: '#7d7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f1a;
$custom-light: #a6a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f1a",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 61.188,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.11723,
    "h": 110.7
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#7D7F1A
secondary
#4442B3
accent
#3FE942
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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