#7D7A14#7D7A14

#7D7A14 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.115 H 107.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A14
RGBrgb(125, 122, 20)
HSLhsl(58, 72%, 28%)
HSVhsv(58, 84%, 49%)
CMYKcmyk(0%, 2.4%, 84%, 51%)
CIE-LABlab(49.89, -10.60, 50.75)
CIE-LCHlch(49.89, 51.84, 101.80°)
OKLaboklab(56.44% -0.0351 0.1096)
OKLCHoklch(56.44% 0.115 107.8)
XYZxyz(15.5439, 18.3301, 3.3810)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A14 #14177D
analogous
#7D4514 #7D7A14 #4B7D14
triadic
#7D7A14 #147D7A #7A147D
tetradic
#7D7A14 #147D45 #14177D #7D144B
square
#7D7A14 #147D45 #14177D #7D144B
split-complementary
#7D7A14 #144B7D #45147D
monochromatic
#1A1A04 #48470C #7D7A14 #B2AD1C #DED92E

Accessibility & contrast

On white

4.50
#7D7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D7A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A14
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A14#FFFFFF#000000##000000
##7D7A141.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a14;
/* rgb */ color: rgb(125, 122, 20);
/* oklch */ color: oklch(56.4% 0.115 107.8);
Tailwind
colors: {
  custom: {
    50: '#a6a05d',
    500: '#7d7a14',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a14;
$custom-light: #a6a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a14",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 58.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.11505,
    "h": 107.8
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#7D7A14
secondary
#3A3EB2
accent
#3EEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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