#7D7B18#7D7B18

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

Color values

HEX#7D7B18
RGBrgb(125, 123, 24)
HSLhsl(59, 68%, 29%)
HSVhsv(59, 81%, 49%)
CMYKcmyk(0%, 1.6%, 80.8%, 51%)
CIE-LABlab(50.21, -11.00, 49.81)
CIE-LCHlch(50.21, 51.01, 102.45°)
OKLaboklab(56.7% -0.0359 0.1083)
OKLCHoklch(56.7% 0.114 108.3)
XYZxyz(15.7059, 18.5924, 3.6253)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B18 #181A7D
analogous
#7D4918 #7D7B18 #4D7D18
triadic
#7D7B18 #187D7B #7B187D
tetradic
#7D7B18 #187D49 #181A7D #7D184D
square
#7D7B18 #187D49 #181A7D #7D184D
split-complementary
#7D7B18 #184D7D #49187D
monochromatic
#1A1905 #4A480E #7D7B18 #B0AE22 #D9D537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7B18#FFFFFF#000000##000000
##7D7B181.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)
#877921
Tritanopia (blue-blind)
#877269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b18;
/* rgb */ color: rgb(125, 123, 24);
/* oklch */ color: oklch(56.7% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#a6a05f',
    500: '#7d7b18',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b18;
$custom-light: #a6a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b18",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 58.812,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.11412,
    "h": 108.3
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#7D7B18
secondary
#3F42B2
accent
#41EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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