#6A7918#6A7918

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

Color values

HEX#6A7918
RGBrgb(106, 121, 24)
HSLhsl(69, 67%, 28%)
HSVhsv(69, 80%, 47%)
CMYKcmyk(12.4%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.01, -18.66, 47.23)
CIE-LCHlch(48.01, 50.78, 111.56°)
OKLaboklab(54.55% -0.056 0.1036)
OKLCHoklch(54.55% 0.118 118.4)
XYZxyz(12.9464, 16.8050, 3.4256)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7918 #271879
analogous
#795718 #6A7918 #397918
triadic
#6A7918 #186A79 #79186A
tetradic
#6A7918 #187957 #271879 #791839
square
#6A7918 #187957 #271879 #791839
split-complementary
#6A7918 #183979 #571879
monochromatic
#161A05 #3D460E #6A7918 #97AC22 #BED735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7918#FFFFFF#000000##FFFFFF
##6A79181.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)
#817200
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#717267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a7918;
/* rgb */ color: rgb(106, 121, 24);
/* oklch */ color: oklch(54.5% 0.118 118.4);
Tailwind
colors: {
  custom: {
    50: '#989f5e',
    500: '#6a7918',
    950: '#000000',
  },
}
SCSS
$custom: #6a7918;
$custom-light: #989f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7918",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 69.278,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.11779,
    "h": 118.4
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#6A7918
secondary
#503FAE
accent
#3EEA59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7918

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

Preview Lab → · Contrast checker → · Palette generator →

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