#6E5A12#6E5A12

#6E5A12 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.5% C 0.090 H 92.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6E5A12
RGBrgb(110, 90, 18)
HSLhsl(47, 72%, 25%)
HSVhsv(47, 84%, 43%)
CMYKcmyk(0%, 18.2%, 83.6%, 56.9%)
CIE-LABlab(39.02, 0.42, 41.27)
CIE-LCHlch(39.02, 41.28, 89.42°)
OKLaboklab(47.45% -0.0035 0.0895)
OKLCHoklch(47.45% 0.09 92.2)
XYZxyz(10.1964, 10.6716, 2.0949)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5A12 #12266E
analogous
#6E2C12 #6E5A12 #546E12
triadic
#6E5A12 #126E5A #5A126E
tetradic
#6E5A12 #126E2C #12266E #6E1254
square
#6E5A12 #126E2C #12266E #6E1254
split-complementary
#6E5A12 #12546E #2C126E
monochromatic
#1A1604 #392F09 #6E5A12 #A3851B #D7B023

Accessibility & contrast

On white

6.70
#6E5A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6E5A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5A12
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5A12#FFFFFF#000000##FFFFFF
##6E5A121.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655903
Deuteranopia (green-blind)
#6A5E17
Tritanopia (blue-blind)
#78524D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6e5a12;
/* rgb */ color: rgb(110, 90, 18);
/* oklch */ color: oklch(47.5% 0.090 92.2);
Tailwind
colors: {
  custom: {
    50: '#9b8857',
    500: '#6e5a12',
    950: '#000000',
  },
}
SCSS
$custom: #6e5a12;
$custom-light: #9b8857;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5a12",
  "rgb": {
    "r": 110,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 46.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.08954,
    "h": 92.2
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

primary
#6E5A12
secondary
#374FA5
accent
#61EF39
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0F0B03
muted
#7E7C78

Preview Lab

Preview with #6E5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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