#7C6918#7C6918

#7C6918 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.098 H 95.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C6918
RGBrgb(124, 105, 24)
HSLhsl(49, 68%, 29%)
HSVhsv(49, 81%, 49%)
CMYKcmyk(0%, 15.3%, 80.6%, 51.4%)
CIE-LABlab(44.88, -1.34, 44.95)
CIE-LCHlch(44.88, 44.97, 91.71°)
OKLaboklab(52.44% -0.0087 0.098)
OKLCHoklch(52.44% 0.098 95.1)
XYZxyz(13.5294, 14.4550, 2.9414)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6918 #182B7C
analogous
#7C3718 #7C6918 #5D7C18
triadic
#7C6918 #187C69 #69187C
tetradic
#7C6918 #187C37 #182B7C #7C185D
square
#7C6918 #187C37 #182B7C #7C185D
split-complementary
#7C6918 #185D7C #37187C
monochromatic
#1A1605 #493E0E #7C6918 #AF9422 #D8B936

Accessibility & contrast

On white

5.40
#7C6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6918
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6918#FFFFFF#000000##FFFFFF
##7C69181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c6918;
/* rgb */ color: rgb(124, 105, 24);
/* oklch */ color: oklch(52.4% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#a6935c',
    500: '#7c6918',
    950: '#000000',
  },
}
SCSS
$custom: #7c6918;
$custom-light: #a6935c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6918",
  "rgb": {
    "r": 124,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 48.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.09836,
    "h": 95.1
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#7C6918
secondary
#3F55B1
accent
#5EEA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6918

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

Preview Lab → · Contrast checker → · Palette generator →

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