#7D7E18#7D7E18

#7D7E18 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.117 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7E18
RGBrgb(125, 126, 24)
HSLhsl(61, 68%, 29%)
HSVhsv(61, 81%, 49%)
CMYKcmyk(0.8%, 0%, 81%, 50.6%)
CIE-LABlab(51.09, -12.63, 50.60)
CIE-LCHlch(51.09, 52.15, 104.02°)
OKLaboklab(57.4% -0.0404 0.11)
OKLCHoklch(57.4% 0.117 110.2)
XYZxyz(16.0838, 19.3481, 3.7513)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E18 #19187E
analogous
#7E4C18 #7D7E18 #4A7E18
triadic
#7D7E18 #187D7E #7E187D
tetradic
#7D7E18 #187E4C #19187E #7E184A
square
#7D7E18 #187E4C #19187E #7E184A
split-complementary
#7D7E18 #184A7E #4C187E
monochromatic
#1A1A05 #4A4B0E #7D7E18 #B0B122 #D7D937

Accessibility & contrast

On white

4.31
#7D7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7D7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E18
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E18#FFFFFF#000000##000000
##7D7E181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e18;
/* rgb */ color: rgb(125, 126, 24);
/* oklch */ color: oklch(57.4% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#a6a35f',
    500: '#7d7e18',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e18;
$custom-light: #a6a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e18",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 60.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.11721,
    "h": 110.2
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#7D7E18
secondary
#403FB2
accent
#3DEB3F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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