#6A7914#6A7914

#6A7914 is a mid, moderate 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#6A7914
RGBrgb(106, 121, 20)
HSLhsl(69, 72%, 28%)
HSVhsv(69, 83%, 47%)
CMYKcmyk(12.4%, 0%, 83.5%, 52.5%)
CIE-LABlab(47.99, -18.83, 48.47)
CIE-LCHlch(47.99, 52.00, 111.23°)
OKLaboklab(54.53% -0.0568 0.1055)
OKLCHoklch(54.53% 0.12 118.3)
XYZxyz(12.9078, 16.7895, 3.2224)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7914 #231479
analogous
#795514 #6A7914 #377914
triadic
#6A7914 #146A79 #79146A
tetradic
#6A7914 #147955 #231479 #791437
square
#6A7914 #147955 #231479 #791437
split-complementary
#6A7914 #143779 #551479
monochromatic
#171A04 #3C440B #6A7914 #98AE1D #C2DC2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7914#FFFFFF#000000##FFFFFF
##6A79141.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: #6a7914;
/* rgb */ color: rgb(106, 121, 20);
/* oklch */ color: oklch(54.5% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#989f5c',
    500: '#6a7914',
    950: '#000000',
  },
}
SCSS
$custom: #6a7914;
$custom-light: #989f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7914",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 68.911,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.11983,
    "h": 118.3
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#6A7914
secondary
#4B3AAF
accent
#39EE54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7914

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

Preview Lab → · Contrast checker → · Palette generator →

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