#6A7913#6A7913

#6A7913 is a mid, vivid yellow. Relative luminance 0.168; OKLCH L 54.5% C 0.120 H 118.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6A7913
RGBrgb(106, 121, 19)
HSLhsl(69, 73%, 27%)
HSVhsv(69, 84%, 47%)
CMYKcmyk(12.4%, 0%, 84.3%, 52.5%)
CIE-LABlab(47.99, -18.87, 48.76)
CIE-LCHlch(47.99, 52.28, 111.16°)
OKLaboklab(54.52% -0.057 0.1059)
OKLCHoklch(54.52% 0.12 118.3)
XYZxyz(12.8991, 16.7861, 3.1765)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7913 #221379
analogous
#795513 #6A7913 #377913
triadic
#6A7913 #136A79 #79136A
tetradic
#6A7913 #137955 #221379 #791337
square
#6A7913 #137955 #221379 #791337
split-complementary
#6A7913 #133779 #551379
monochromatic
#171A04 #3C440B #6A7913 #98AE1B #C3DD29

Accessibility & contrast

On white

4.82
#6A7913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A7913
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7913#FFFFFF#000000##FFFFFF
##6A79131.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#717267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a7913;
/* rgb */ color: rgb(106, 121, 19);
/* oklch */ color: oklch(54.5% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#989f5c',
    500: '#6a7913',
    950: '#000000',
  },
}
SCSS
$custom: #6a7913;
$custom-light: #989f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7913",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 19
  },
  "hsl": {
    "h": 68.824,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.12031,
    "h": 118.3
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#6A7913
secondary
#4A39AF
accent
#38F053
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7913

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

Preview Lab → · Contrast checker → · Palette generator →

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