#6A670F#6A670F

#6A670F is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.102 H 107.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6A670F
RGBrgb(106, 103, 15)
HSLhsl(58, 75%, 24%)
HSVhsv(58, 86%, 42%)
CMYKcmyk(0%, 2.8%, 85.8%, 58.4%)
CIE-LABlab(42.46, -9.20, 45.11)
CIE-LCHlch(42.46, 46.04, 101.53°)
OKLaboklab(50.08% -0.0306 0.0973)
OKLCHoklch(50.08% 0.102 107.5)
XYZxyz(10.8808, 12.7995, 2.3493)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A670F #0F126A
analogous
#6A390F #6A670F #3F6A0F
triadic
#6A670F #0F6A67 #670F6A
tetradic
#6A670F #0F6A39 #0F126A #6A0F3F
square
#6A670F #0F6A39 #0F126A #6A0F3F
split-complementary
#6A670F #0F3F6A #390F6A
monochromatic
#1B1A04 #343307 #6A670F #A09B17 #D5CF1E

Accessibility & contrast

On white

5.90
#6A670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6A670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A670F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A670F#FFFFFF#000000##FFFFFF
##6A670F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#726617
Tritanopia (blue-blind)
#725F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a670f;
/* rgb */ color: rgb(106, 103, 15);
/* oklch */ color: oklch(50.1% 0.102 107.5);
Tailwind
colors: {
  custom: {
    50: '#989258',
    500: '#6a670f',
    950: '#000000',
  },
}
SCSS
$custom: #6a670f;
$custom-light: #989258;
$custom-dark: #000000;
JSON
{
  "hex": "#6a670f",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 58.022,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.10203,
    "h": 107.5
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#6A670F
secondary
#3236A2
accent
#3CF236
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A670F

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

Preview Lab → · Contrast checker → · Palette generator →

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