#6A6830#6A6830

#6A6830 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.077 H 107.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6A6830
RGBrgb(106, 104, 48)
HSLhsl(58, 38%, 30%)
HSVhsv(58, 55%, 42%)
CMYKcmyk(0%, 1.9%, 54.7%, 58.4%)
CIE-LABlab(43.03, -7.66, 31.43)
CIE-LCHlch(43.03, 32.35, 103.70°)
OKLaboklab(50.62% -0.0226 0.0739)
OKLCHoklch(50.62% 0.077 107)
XYZxyz(11.4280, 13.1785, 4.7374)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6830 #30326A
analogous
#6A4B30 #6A6830 #4F6A30
triadic
#6A6830 #306A68 #68306A
tetradic
#6A6830 #306A4B #30326A #6A304F
square
#6A6830 #306A4B #30326A #6A304F
split-complementary
#6A6830 #304F6A #4B306A
monochromatic
#16150A #403F1D #6A6830 #949143 #B6B35E

Accessibility & contrast

On white

5.78
#6A6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6A6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6830
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6830#FFFFFF#000000##FFFFFF
##6A68301.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70642B
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#71625B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6830;
/* rgb */ color: rgb(106, 104, 48);
/* oklch */ color: oklch(50.6% 0.077 107.0);
Tailwind
colors: {
  custom: {
    50: '#96936a',
    500: '#6a6830',
    950: '#000000',
  },
}
SCSS
$custom: #6a6830;
$custom-light: #96936a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6830",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 57.931,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.07728,
    "h": 107
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#6A6830
secondary
#5A5D9B
accent
#5ECE5A
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #6A6830

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

Preview Lab → · Contrast checker → · Palette generator →

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