#6E5812#6E5812

#6E5812 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 47.0% C 0.088 H 90.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6E5812
RGBrgb(110, 88, 18)
HSLhsl(46, 72%, 25%)
HSVhsv(46, 84%, 43%)
CMYKcmyk(0%, 20%, 83.6%, 56.9%)
CIE-LABlab(38.44, 1.61, 40.75)
CIE-LCHlch(38.44, 40.79, 87.74°)
OKLaboklab(47% -0.0001 0.0884)
OKLCHoklch(47% 0.088 90.1)
XYZxyz(10.0299, 10.3388, 2.0395)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5812 #12286E
analogous
#6E2A12 #6E5812 #566E12
triadic
#6E5812 #126E58 #58126E
tetradic
#6E5812 #126E2A #12286E #6E1256
square
#6E5812 #126E2A #12286E #6E1256
split-complementary
#6E5812 #12566E #2A126E
monochromatic
#1A1504 #392E09 #6E5812 #A3821B #D7AC23

Accessibility & contrast

On white

6.85
#6E5812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6E5812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5812
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5812#FFFFFF#000000##FFFFFF
##6E58121.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#695D16
Tritanopia (blue-blind)
#78504B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e5812;
/* rgb */ color: rgb(110, 88, 18);
/* oklch */ color: oklch(47.0% 0.088 90.1);
Tailwind
colors: {
  custom: {
    50: '#9b8657',
    500: '#6e5812',
    950: '#000000',
  },
}
SCSS
$custom: #6e5812;
$custom-light: #9b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5812",
  "rgb": {
    "r": 110,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 45.652,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.08835,
    "h": 90.1
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#6E5812
secondary
#3751A5
accent
#65EF39
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0F0B03
muted
#7E7C78

Preview Lab

Preview with #6E5812

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

Preview Lab → · Contrast checker → · Palette generator →

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