#6A7115#6A7115

#6A7115 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.110 H 114.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A7115
RGBrgb(106, 113, 21)
HSLhsl(65, 69%, 26%)
HSVhsv(65, 81%, 44%)
CMYKcmyk(6.2%, 0%, 81.4%, 55.7%)
CIE-LABlab(45.54, -14.52, 45.96)
CIE-LCHlch(45.54, 48.20, 107.53°)
OKLaboklab(52.55% -0.0449 0.1003)
OKLCHoklch(52.55% 0.11 114.1)
XYZxyz(11.9847, 14.9288, 2.9595)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7115 #1C1571
analogous
#714A15 #6A7115 #3C7115
triadic
#6A7115 #156A71 #71156A
tetradic
#6A7115 #15714A #1C1571 #71153C
square
#6A7115 #15714A #1C1571 #71153C
split-complementary
#6A7115 #153C71 #4A1571
monochromatic
#181A05 #3A3D0B #6A7115 #9AA51F #CAD729

Accessibility & contrast

On white

5.27
#6A7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6A7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7115
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7115#FFFFFF#000000##FFFFFF
##6A71151.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#726A60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a7115;
/* rgb */ color: rgb(106, 113, 21);
/* oklch */ color: oklch(52.6% 0.110 114.1);
Tailwind
colors: {
  custom: {
    50: '#98995c',
    500: '#6a7115',
    950: '#000000',
  },
}
SCSS
$custom: #6a7115;
$custom-light: #98995c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7115",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 64.565,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.10992,
    "h": 114.1
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#6A7115
secondary
#433BA7
accent
#3CEB4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7115

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

Preview Lab → · Contrast checker → · Palette generator →

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