#6A6725#6A6725

#6A6725 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.087 H 106.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6A6725
RGBrgb(106, 103, 37)
HSLhsl(57, 48%, 28%)
HSVhsv(57, 65%, 42%)
CMYKcmyk(0%, 2.8%, 65.1%, 58.4%)
CIE-LABlab(42.61, -8.02, 36.54)
CIE-LCHlch(42.61, 37.41, 102.38°)
OKLaboklab(50.25% -0.025 0.0834)
OKLCHoklch(50.25% 0.087 106.7)
XYZxyz(11.1284, 12.8986, 3.6534)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6725 #25286A
analogous
#6A4425 #6A6725 #4A6A25
triadic
#6A6725 #256A67 #67256A
tetradic
#6A6725 #256A44 #25286A #6A254A
square
#6A6725 #256A44 #25286A #6A254A
split-complementary
#6A6725 #254A6A #44256A
monochromatic
#171608 #3D3B15 #6A6725 #979335 #C0BB4A

Accessibility & contrast

On white

5.87
#6A6725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6A6725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6725
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6725#FFFFFF#000000##FFFFFF
##6A67251.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70631D
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6725;
/* rgb */ color: rgb(106, 103, 37);
/* oklch */ color: oklch(50.2% 0.087 106.7);
Tailwind
colors: {
  custom: {
    50: '#979263',
    500: '#6a6725',
    950: '#000000',
  },
}
SCSS
$custom: #6a6725;
$custom-light: #979263;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6725",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 37
  },
  "hsl": {
    "h": 57.391,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.08704,
    "h": 106.7
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#6A6725
secondary
#4E519D
accent
#56D850
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C05
muted
#7E7D7A

Preview Lab

Preview with #6A6725

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

Preview Lab → · Contrast checker → · Palette generator →

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