#7D7914#7D7914

#7D7914 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.114 H 107.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D7914
RGBrgb(125, 121, 20)
HSLhsl(58, 72%, 28%)
HSVhsv(58, 84%, 49%)
CMYKcmyk(0%, 3.2%, 84%, 51%)
CIE-LABlab(49.60, -10.05, 50.49)
CIE-LCHlch(49.60, 51.48, 101.25°)
OKLaboklab(56.21% -0.0336 0.109)
OKLCHoklch(56.21% 0.114 107.1)
XYZxyz(15.4217, 18.0858, 3.3402)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7914 #14187D
analogous
#7D4414 #7D7914 #4C7D14
triadic
#7D7914 #147D79 #79147D
tetradic
#7D7914 #147D44 #14187D #7D144C
square
#7D7914 #147D44 #14187D #7D144C
split-complementary
#7D7914 #144C7D #44147D
monochromatic
#1A1A04 #48460C #7D7914 #B2AC1C #DED72E

Accessibility & contrast

On white

4.55
#7D7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7D7914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7914
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7914#FFFFFF#000000##000000
##7D79141.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7914;
/* rgb */ color: rgb(125, 121, 20);
/* oklch */ color: oklch(56.2% 0.114 107.1);
Tailwind
colors: {
  custom: {
    50: '#a69f5d',
    500: '#7d7914',
    950: '#000000',
  },
}
SCSS
$custom: #7d7914;
$custom-light: #a69f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7914",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 57.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.11407,
    "h": 107.1
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#7D7914
secondary
#3A3FB2
accent
#40EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7914

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

Preview Lab → · Contrast checker → · Palette generator →

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