#6A640F#6A640F

#6A640F is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.099 H 105.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6A640F
RGBrgb(106, 100, 15)
HSLhsl(56, 75%, 24%)
HSVhsv(56, 86%, 42%)
CMYKcmyk(0%, 5.7%, 85.8%, 58.4%)
CIE-LABlab(41.55, -7.50, 44.33)
CIE-LCHlch(41.55, 44.96, 99.60°)
OKLaboklab(49.36% -0.0259 0.0956)
OKLCHoklch(49.36% 0.099 105.1)
XYZxyz(10.5877, 12.2134, 2.2516)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A640F #0F156A
analogous
#6A360F #6A640F #426A0F
triadic
#6A640F #0F6A64 #640F6A
tetradic
#6A640F #0F6A36 #0F156A #6A0F42
square
#6A640F #0F6A36 #0F156A #6A0F42
split-complementary
#6A640F #0F426A #360F6A
monochromatic
#1B1904 #343107 #6A640F #A09717 #D5C91E

Accessibility & contrast

On white

6.10
#6A640F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6A640F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A640F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A640F#FFFFFF#000000##FFFFFF
##6A640F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#706417
Tritanopia (blue-blind)
#735C55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a640f;
/* rgb */ color: rgb(106, 100, 15);
/* oklch */ color: oklch(49.4% 0.099 105.1);
Tailwind
colors: {
  custom: {
    50: '#988f57',
    500: '#6a640f',
    950: '#000000',
  },
}
SCSS
$custom: #6a640f;
$custom-light: #988f57;
$custom-dark: #000000;
JSON
{
  "hex": "#6a640f",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 56.044,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.09907,
    "h": 105.1
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#6A640F
secondary
#323AA2
accent
#42F236
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #6A640F

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

Preview Lab → · Contrast checker → · Palette generator →

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