#6A7915#6A7915

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

Color values

HEX#6A7915
RGBrgb(106, 121, 21)
HSLhsl(69, 70%, 28%)
HSVhsv(69, 83%, 47%)
CMYKcmyk(12.4%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.00, -18.79, 48.17)
CIE-LCHlch(48.00, 51.71, 111.31°)
OKLaboklab(54.53% -0.0566 0.1051)
OKLCHoklch(54.53% 0.119 118.3)
XYZxyz(12.9169, 16.7932, 3.2703)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7915 #241579
analogous
#795615 #6A7915 #387915
triadic
#6A7915 #156A79 #79156A
tetradic
#6A7915 #157956 #241579 #791538
square
#6A7915 #157956 #241579 #791538
split-complementary
#6A7915 #153879 #561579
monochromatic
#171A05 #3C450C #6A7915 #98AD1E #C1DB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7915#FFFFFF#000000##FFFFFF
##6A79151.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)
#80721F
Tritanopia (blue-blind)
#717267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a7915;
/* rgb */ color: rgb(106, 121, 21);
/* oklch */ color: oklch(54.5% 0.119 118.3);
Tailwind
colors: {
  custom: {
    50: '#989f5d',
    500: '#6a7915',
    950: '#000000',
  },
}
SCSS
$custom: #6a7915;
$custom-light: #989f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7915",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 69,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5453,
    "c": 0.11935,
    "h": 118.3
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#6A7915
secondary
#4D3BAF
accent
#3BED55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7915

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

Preview Lab → · Contrast checker → · Palette generator →

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