#7D7918#7D7918

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

Color values

HEX#7D7918
RGBrgb(125, 121, 24)
HSLhsl(58, 68%, 29%)
HSVhsv(58, 81%, 49%)
CMYKcmyk(0%, 3.2%, 80.8%, 51%)
CIE-LABlab(49.62, -9.90, 49.28)
CIE-LCHlch(49.62, 50.27, 101.36°)
OKLaboklab(56.23% -0.0328 0.1072)
OKLCHoklch(56.23% 0.112 107)
XYZxyz(15.4603, 18.1012, 3.5435)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7918 #181C7D
analogous
#7D4718 #7D7918 #4F7D18
triadic
#7D7918 #187D79 #79187D
tetradic
#7D7918 #187D47 #181C7D #7D184F
square
#7D7918 #187D47 #181C7D #7D184F
split-complementary
#7D7918 #184F7D #47187D
monochromatic
#1A1905 #4A470E #7D7918 #B0AB22 #D9D237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7918#FFFFFF#000000##000000
##7D79181.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)
#867820
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7918;
/* rgb */ color: rgb(125, 121, 24);
/* oklch */ color: oklch(56.2% 0.112 107.0);
Tailwind
colors: {
  custom: {
    50: '#a69f5e',
    500: '#7d7918',
    950: '#000000',
  },
}
SCSS
$custom: #7d7918;
$custom-light: #a69f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7918",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 57.624,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.11212,
    "h": 107
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#7D7918
secondary
#3F44B2
accent
#44EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7918

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

Preview Lab → · Contrast checker → · Palette generator →

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