#7C6318#7C6318

#7C6318 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 51.1% C 0.095 H 89.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C6318
RGBrgb(124, 99, 24)
HSLhsl(45, 68%, 29%)
HSVhsv(45, 81%, 49%)
CMYKcmyk(0%, 20.2%, 80.6%, 51.4%)
CIE-LABlab(43.18, 2.15, 43.38)
CIE-LCHlch(43.18, 43.44, 87.16°)
OKLaboklab(51.1% 0.0013 0.0946)
OKLCHoklch(51.1% 0.095 89.2)
XYZxyz(12.9397, 13.2756, 2.7449)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6318 #18317C
analogous
#7C3118 #7C6318 #637C18
triadic
#7C6318 #187C63 #63187C
tetradic
#7C6318 #187C31 #18317C #7C1863
square
#7C6318 #187C31 #18317C #7C1863
split-complementary
#7C6318 #18637C #31187C
monochromatic
#1A1405 #493A0E #7C6318 #AF8C22 #D8B036

Accessibility & contrast

On white

5.75
#7C6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7C6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6318
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6318#FFFFFF#000000##FFFFFF
##7C63181.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6209
Deuteranopia (green-blind)
#75691C
Tritanopia (blue-blind)
#875A55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c6318;
/* rgb */ color: rgb(124, 99, 24);
/* oklch */ color: oklch(51.1% 0.095 89.2);
Tailwind
colors: {
  custom: {
    50: '#a68f5b',
    500: '#7c6318',
    950: '#000000',
  },
}
SCSS
$custom: #7c6318;
$custom-light: #a68f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6318",
  "rgb": {
    "r": 124,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 45,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.09463,
    "h": 89.2
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#7C6318
secondary
#3F5CB1
accent
#69EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6318

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

Preview Lab → · Contrast checker → · Palette generator →

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