#7A6830#7A6830

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

Color values

HEX#7A6830
RGBrgb(122, 104, 48)
HSLhsl(45, 44%, 33%)
HSVhsv(45, 61%, 48%)
CMYKcmyk(0%, 14.8%, 60.7%, 52.2%)
CIE-LABlab(44.59, -0.23, 33.65)
CIE-LCHlch(44.59, 33.65, 90.39°)
OKLaboklab(52.23% -0.0023 0.0784)
OKLCHoklch(52.23% 0.078 91.7)
XYZxyz(13.5104, 14.2523, 4.8351)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6830 #30427A
analogous
#7A4330 #7A6830 #677A30
triadic
#7A6830 #307A68 #68307A
tetradic
#7A6830 #307A43 #30427A #7A3067
square
#7A6830 #307A43 #30427A #7A3067
split-complementary
#7A6830 #30677A #43307A
monochromatic
#221D0D #4E431F #7A6830 #A68D41 #C2AB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A6830#FFFFFF#000000##FFFFFF
##7A68301.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)
#72662B
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#83605B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6830;
/* rgb */ color: rgb(122, 104, 48);
/* oklch */ color: oklch(52.2% 0.078 91.7);
Tailwind
colors: {
  custom: {
    50: '#a3926a',
    500: '#7a6830',
    950: '#000000',
  },
}
SCSS
$custom: #7a6830;
$custom-light: #a3926a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6830",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 45.405,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.07838,
    "h": 91.7
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#7A6830
secondary
#5D6FA9
accent
#73D355
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7A6830

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

Preview Lab → · Contrast checker → · Palette generator →

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