#7D6918#7D6918

#7D6918 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.099 H 94.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D6918
RGBrgb(125, 105, 24)
HSLhsl(48, 68%, 29%)
HSVhsv(48, 81%, 49%)
CMYKcmyk(0%, 16%, 80.8%, 51%)
CIE-LABlab(44.98, -0.86, 45.09)
CIE-LCHlch(44.98, 45.09, 91.10°)
OKLaboklab(52.55% -0.0074 0.0982)
OKLCHoklch(52.55% 0.099 94.3)
XYZxyz(13.6747, 14.5299, 2.9483)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6918 #182C7D
analogous
#7D3718 #7D6918 #5F7D18
triadic
#7D6918 #187D69 #69187D
tetradic
#7D6918 #187D37 #182C7D #7D185F
square
#7D6918 #187D37 #182C7D #7D185F
split-complementary
#7D6918 #185F7D #37187D
monochromatic
#1A1605 #4A3E0E #7D6918 #B09422 #D9B937

Accessibility & contrast

On white

5.38
#7D6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7D6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6918
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6918#FFFFFF#000000##FFFFFF
##7D69181.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#88605A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6918;
/* rgb */ color: rgb(125, 105, 24);
/* oklch */ color: oklch(52.5% 0.099 94.3);
Tailwind
colors: {
  custom: {
    50: '#a6935c',
    500: '#7d6918',
    950: '#000000',
  },
}
SCSS
$custom: #7d6918;
$custom-light: #a6935c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6918",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 48.119,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.0985,
    "h": 94.3
  },
  "luminance": 0.14529
}

Semantic roles & 50–950 ramp

primary
#7D6918
secondary
#3F56B2
accent
#60EB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6918

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

Preview Lab → · Contrast checker → · Palette generator →

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