#7D7B14#7D7B14

#7D7B14 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.116 H 108.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D7B14
RGBrgb(125, 123, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 49%)
CMYKcmyk(0%, 1.6%, 84%, 51%)
CIE-LABlab(50.19, -11.14, 51.00)
CIE-LCHlch(50.19, 52.21, 102.33°)
OKLaboklab(56.68% -0.0366 0.1101)
OKLCHoklch(56.68% 0.116 108.4)
XYZxyz(15.6673, 18.5769, 3.4221)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B14 #14167D
analogous
#7D4614 #7D7B14 #4A7D14
triadic
#7D7B14 #147D7B #7B147D
tetradic
#7D7B14 #147D46 #14167D #7D144A
square
#7D7B14 #147D46 #14167D #7D144A
split-complementary
#7D7B14 #144A7D #46147D
monochromatic
#1A1A04 #48470C #7D7B14 #B2AF1C #DEDA2E

Accessibility & contrast

On white

4.45
#7D7B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D7B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B14
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B14#FFFFFF#000000##000000
##7D7B141.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#877269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b14;
/* rgb */ color: rgb(125, 123, 20);
/* oklch */ color: oklch(56.7% 0.116 108.4);
Tailwind
colors: {
  custom: {
    50: '#a6a05d',
    500: '#7d7b14',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b14;
$custom-light: #a6a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b14",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 58.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.11604,
    "h": 108.4
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#7D7B14
secondary
#3A3DB2
accent
#3CEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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