#7D7A18#7D7A18

#7D7A18 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.113 H 107.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A18
RGBrgb(125, 122, 24)
HSLhsl(58, 68%, 29%)
HSVhsv(58, 81%, 49%)
CMYKcmyk(0%, 2.4%, 80.8%, 51%)
CIE-LABlab(49.91, -10.45, 49.54)
CIE-LCHlch(49.91, 50.64, 101.91°)
OKLaboklab(56.46% -0.0344 0.1078)
OKLCHoklch(56.46% 0.113 107.7)
XYZxyz(15.5825, 18.3455, 3.5842)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A18 #181B7D
analogous
#7D4818 #7D7A18 #4E7D18
triadic
#7D7A18 #187D7A #7A187D
tetradic
#7D7A18 #187D48 #181B7D #7D184E
square
#7D7A18 #187D48 #181B7D #7D184E
split-complementary
#7D7A18 #184E7D #48187D
monochromatic
#1A1905 #4A480E #7D7A18 #B0AC22 #D9D437

Accessibility & contrast

On white

4.50
#7D7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D7A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A18
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A18#FFFFFF#000000##000000
##7D7A181.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#877820
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a18;
/* rgb */ color: rgb(125, 122, 24);
/* oklch */ color: oklch(56.5% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#a6a05f',
    500: '#7d7a18',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a18;
$custom-light: #a6a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a18",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 58.218,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.11311,
    "h": 107.7
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#7D7A18
secondary
#3F43B2
accent
#42EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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