#6A651B#6A651B

#6A651B is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.7% C 0.093 H 105.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6A651B
RGBrgb(106, 101, 27)
HSLhsl(56, 59%, 26%)
HSVhsv(56, 75%, 42%)
CMYKcmyk(0%, 4.7%, 74.5%, 58.4%)
CIE-LABlab(41.92, -7.53, 40.34)
CIE-LCHlch(41.92, 41.04, 100.57°)
OKLaboklab(49.68% -0.0248 0.0896)
OKLCHoklch(49.68% 0.093 105.5)
XYZxyz(10.7958, 12.4511, 2.8713)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A651B #1B206A
analogous
#6A3D1B #6A651B #476A1B
triadic
#6A651B #1B6A65 #651B6A
tetradic
#6A651B #1B6A3D #1B206A #6A1B47
square
#6A651B #1B6A3D #1B206A #6A1B47
split-complementary
#6A651B #1B476A #3D1B6A
monochromatic
#181706 #39370F #6A651B #9B9327 #CBC234

Accessibility & contrast

On white

6.02
#6A651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6A651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A651B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A651B#FFFFFF#000000##FFFFFF
##6A651B1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610F
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#725E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a651b;
/* rgb */ color: rgb(106, 101, 27);
/* oklch */ color: oklch(49.7% 0.093 105.5);
Tailwind
colors: {
  custom: {
    50: '#97905d',
    500: '#6a651b',
    950: '#000000',
  },
}
SCSS
$custom: #6a651b;
$custom-light: #97905d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a651b",
  "rgb": {
    "r": 106,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 56.203,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.09297,
    "h": 105.5
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#6A651B
secondary
#42489F
accent
#4FE345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A651B

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

Preview Lab → · Contrast checker → · Palette generator →

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