#7A681F#7A681F

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

Color values

HEX#7A681F
RGBrgb(122, 104, 31)
HSLhsl(48, 59%, 30%)
HSVhsv(48, 75%, 48%)
CMYKcmyk(0%, 14.8%, 74.6%, 52.2%)
CIE-LABlab(44.43, -1.39, 41.65)
CIE-LCHlch(44.43, 41.68, 91.90°)
OKLaboklab(52.05% -0.0079 0.0925)
OKLCHoklch(52.05% 0.093 94.9)
XYZxyz(13.2244, 14.1379, 3.3284)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A681F #1F317A
analogous
#7A3B1F #7A681F #5E7A1F
triadic
#7A681F #1F7A68 #681F7A
tetradic
#7A681F #1F7A3B #1F317A #7A1F5E
square
#7A681F #1F7A3B #1F317A #7A1F5E
split-complementary
#7A681F #1F5E7A #3B1F7A
monochromatic
#181506 #493E13 #7A681F #AB922B #CFB444

Accessibility & contrast

On white

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

On black

3.83
#7A681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A681F#FFFFFF#000000##FFFFFF
##7A681F1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736614
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a681f;
/* rgb */ color: rgb(122, 104, 31);
/* oklch */ color: oklch(52.1% 0.093 94.9);
Tailwind
colors: {
  custom: {
    50: '#a49260',
    500: '#7a681f',
    950: '#000000',
  },
}
SCSS
$custom: #7a681f;
$custom-light: #a49260;
$custom-dark: #000000;
JSON
{
  "hex": "#7a681f",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 48.132,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.09288,
    "h": 94.9
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#7A681F
secondary
#475CAD
accent
#64E345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7A681F

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

Preview Lab → · Contrast checker → · Palette generator →

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