#6A7919#6A7919

#6A7919 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.6% C 0.117 H 118.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6A7919
RGBrgb(106, 121, 25)
HSLhsl(69, 66%, 29%)
HSVhsv(69, 79%, 47%)
CMYKcmyk(12.4%, 0%, 79.3%, 52.5%)
CIE-LABlab(48.02, -18.61, 46.90)
CIE-LCHlch(48.02, 50.46, 111.65°)
OKLaboklab(54.55% -0.0558 0.1031)
OKLCHoklch(54.55% 0.117 118.4)
XYZxyz(12.9570, 16.8092, 3.4814)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7919 #281979
analogous
#795819 #6A7919 #3A7919
triadic
#6A7919 #196A79 #79196A
tetradic
#6A7919 #197958 #281979 #79193A
square
#6A7919 #197958 #281979 #79193A
split-complementary
#6A7919 #193A79 #581979
monochromatic
#161905 #3E460F #6A7919 #96AC23 #BDD637

Accessibility & contrast

On white

4.81
#6A7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6A7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7919
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7919#FFFFFF#000000##FFFFFF
##6A79191.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#717267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a7919;
/* rgb */ color: rgb(106, 121, 25);
/* oklch */ color: oklch(54.6% 0.117 118.4);
Tailwind
colors: {
  custom: {
    50: '#989f5e',
    500: '#6a7919',
    950: '#000000',
  },
}
SCSS
$custom: #6a7919;
$custom-light: #989f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7919",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 69.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.11723,
    "h": 118.4
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#6A7919
secondary
#5140AE
accent
#3FE95A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7919

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

Preview Lab → · Contrast checker → · Palette generator →

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