#6A7019#6A7019

#6A7019 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.106 H 113.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A7019
RGBrgb(106, 112, 25)
HSLhsl(64, 64%, 27%)
HSVhsv(64, 78%, 44%)
CMYKcmyk(5.4%, 0%, 77.7%, 56.1%)
CIE-LABlab(45.25, -13.79, 44.32)
CIE-LCHlch(45.25, 46.41, 107.28°)
OKLaboklab(52.33% -0.0425 0.0976)
OKLCHoklch(52.33% 0.106 113.5)
XYZxyz(11.9139, 14.7230, 3.1337)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7019 #1F1970
analogous
#704B19 #6A7019 #3F7019
triadic
#6A7019 #196A70 #70196A
tetradic
#6A7019 #19704B #1F1970 #70193F
square
#6A7019 #19704B #1F1970 #70193F
split-complementary
#6A7019 #193F70 #4B1970
monochromatic
#181906 #3B3E0E #6A7019 #99A224 #C6D132

Accessibility & contrast

On white

5.32
#6A7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6A7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7019
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7019#FFFFFF#000000##FFFFFF
##6A70191.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A06
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#72695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a7019;
/* rgb */ color: rgb(106, 112, 25);
/* oklch */ color: oklch(52.3% 0.106 113.5);
Tailwind
colors: {
  custom: {
    50: '#97985d',
    500: '#6a7019',
    950: '#000000',
  },
}
SCSS
$custom: #6a7019;
$custom-light: #97985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7019",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 64.138,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.10646,
    "h": 113.5
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#6A7019
secondary
#4740A5
accent
#41E74D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6A7019

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

Preview Lab → · Contrast checker → · Palette generator →

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