#6C7B13#6C7B13

#6C7B13 is a mid, vivid yellow. Relative luminance 0.174; OKLCH L 55.2% C 0.122 H 118.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6C7B13
RGBrgb(108, 123, 19)
HSLhsl(69, 73%, 28%)
HSVhsv(69, 85%, 48%)
CMYKcmyk(12.2%, 0%, 84.6%, 51.8%)
CIE-LABlab(48.76, -19.01, 49.49)
CIE-LCHlch(48.76, 53.02, 111.01°)
OKLaboklab(55.18% -0.0575 0.1074)
OKLCHoklch(55.18% 0.122 118.2)
XYZxyz(13.3852, 17.4012, 3.2696)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7B13 #22137B
analogous
#7B5613 #6C7B13 #387B13
triadic
#6C7B13 #136C7B #7B136C
tetradic
#6C7B13 #137B56 #22137B #7B1338
square
#6C7B13 #137B56 #22137B #7B1338
split-complementary
#6C7B13 #13387B #56137B
monochromatic
#171B04 #3D460B #6C7B13 #9BB01B #C4DE2A

Accessibility & contrast

On white

4.69
#6C7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6C7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7B13
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7B13#FFFFFF#000000##FFFFFF
##6C7B131.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#737468
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c7b13;
/* rgb */ color: rgb(108, 123, 19);
/* oklch */ color: oklch(55.2% 0.122 118.2);
Tailwind
colors: {
  custom: {
    50: '#99a15c',
    500: '#6c7b13',
    950: '#000000',
  },
}
SCSS
$custom: #6c7b13;
$custom-light: #99a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7b13",
  "rgb": {
    "r": 108,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 68.654,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.12185,
    "h": 118.2
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#6C7B13
secondary
#4A39B1
accent
#38F052
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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