#6E6215#6E6215

#6E6215 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.3% C 0.094 H 99.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6E6215
RGBrgb(110, 98, 21)
HSLhsl(52, 68%, 26%)
HSVhsv(52, 81%, 43%)
CMYKcmyk(0%, 10.9%, 80.9%, 56.9%)
CIE-LABlab(41.38, -4.16, 42.32)
CIE-LCHlch(41.38, 42.52, 95.62°)
OKLaboklab(49.33% -0.0162 0.0924)
OKLCHoklch(49.33% 0.094 99.9)
XYZxyz(10.9340, 12.1050, 2.4699)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6215 #15216E
analogous
#6E3515 #6E6215 #4D6E15
triadic
#6E6215 #156E62 #62156E
tetradic
#6E6215 #156E35 #15216E #6E154D
square
#6E6215 #156E35 #15216E #6E154D
split-complementary
#6E6215 #154D6E #35156E
monochromatic
#1A1705 #3B340B #6E6215 #A1901F #D5BE29

Accessibility & contrast

On white

6.14
#6E6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6E6215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6215
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6215#FFFFFF#000000##FFFFFF
##6E62151.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#775A53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6e6215;
/* rgb */ color: rgb(110, 98, 21);
/* oklch */ color: oklch(49.3% 0.094 99.9);
Tailwind
colors: {
  custom: {
    50: '#9b8e5a',
    500: '#6e6215',
    950: '#000000',
  },
}
SCSS
$custom: #6e6215;
$custom-light: #9b8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6215",
  "rgb": {
    "r": 110,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 51.91,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.09379,
    "h": 99.9
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#6E6215
secondary
#3A49A4
accent
#54EB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6215

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

Preview Lab → · Contrast checker → · Palette generator →

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