#7A681C#7A681C

#7A681C is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.095 H 95.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A681C
RGBrgb(122, 104, 28)
HSLhsl(49, 63%, 29%)
HSVhsv(49, 77%, 48%)
CMYKcmyk(0%, 14.8%, 77%, 52.2%)
CIE-LABlab(44.41, -1.54, 42.89)
CIE-LCHlch(44.41, 42.91, 92.06°)
OKLaboklab(52.03% -0.0087 0.0945)
OKLCHoklch(52.03% 0.095 95.2)
XYZxyz(13.1866, 14.1228, 3.1298)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A681C #1C2E7A
analogous
#7A391C #7A681C #5D7A1C
triadic
#7A681C #1C7A68 #681C7A
tetradic
#7A681C #1C7A39 #1C2E7A #7A1C5D
square
#7A681C #1C7A39 #1C2E7A #7A1C5D
split-complementary
#7A681C #1C5D7A #391C7A
monochromatic
#191506 #483E11 #7A681C #AC9227 #D3B63E

Accessibility & contrast

On white

5.49
#7A681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A681C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A681C#FFFFFF#000000##FFFFFF
##7A681C1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660F
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a681c;
/* rgb */ color: rgb(122, 104, 28);
/* oklch */ color: oklch(52.0% 0.095 95.2);
Tailwind
colors: {
  custom: {
    50: '#a4925e',
    500: '#7a681c',
    950: '#000000',
  },
}
SCSS
$custom: #7a681c;
$custom-light: #a4925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a681c",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 48.511,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.09494,
    "h": 95.2
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#7A681C
secondary
#4458AE
accent
#61E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7A681C

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

Preview Lab → · Contrast checker → · Palette generator →

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