#7C681C#7C681C

#7C681C is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.095 H 93.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7C681C
RGBrgb(124, 104, 28)
HSLhsl(48, 63%, 30%)
HSVhsv(48, 77%, 49%)
CMYKcmyk(0%, 16.1%, 77.4%, 51.4%)
CIE-LABlab(44.62, -0.58, 43.16)
CIE-LCHlch(44.62, 43.17, 90.77°)
OKLaboklab(52.24% -0.0061 0.095)
OKLCHoklch(52.24% 0.095 93.7)
XYZxyz(13.4728, 14.2703, 3.1432)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C681C #1C307C
analogous
#7C381C #7C681C #607C1C
triadic
#7C681C #1C7C68 #681C7C
tetradic
#7C681C #1C7C38 #1C307C #7C1C60
square
#7C681C #1C7C38 #1C307C #7C1C60
split-complementary
#7C681C #1C607C #381C7C
monochromatic
#191506 #4A3E11 #7C681C #AE9227 #D4B53F

Accessibility & contrast

On white

5.45
#7C681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7C681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C681C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C681C#FFFFFF#000000##FFFFFF
##7C681C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660F
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#875F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c681c;
/* rgb */ color: rgb(124, 104, 28);
/* oklch */ color: oklch(52.2% 0.095 93.7);
Tailwind
colors: {
  custom: {
    50: '#a5925e',
    500: '#7c681c',
    950: '#000000',
  },
}
SCSS
$custom: #7c681c;
$custom-light: #a5925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c681c",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 47.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.09523,
    "h": 93.7
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#7C681C
secondary
#445AB0
accent
#64E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7C681C

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

Preview Lab → · Contrast checker → · Palette generator →

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