#6B7B17#6B7B17

#6B7B17 is a mid, vivid yellow. Relative luminance 0.174; OKLCH L 55.1% C 0.120 H 118.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6B7B17
RGBrgb(107, 123, 23)
HSLhsl(70, 68%, 29%)
HSVhsv(70, 81%, 48%)
CMYKcmyk(13%, 0%, 81.3%, 51.8%)
CIE-LABlab(48.70, -19.30, 48.21)
CIE-LCHlch(48.70, 51.93, 111.82°)
OKLaboklab(55.12% -0.0579 0.1055)
OKLCHoklch(55.12% 0.12 118.8)
XYZxyz(13.3013, 17.3537, 3.4593)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7B17 #27177B
analogous
#7B5917 #6B7B17 #397B17
triadic
#6B7B17 #176B7B #7B176B
tetradic
#6B7B17 #177B59 #27177B #7B1739
square
#6B7B17 #177B59 #27177B #7B1739
split-complementary
#6B7B17 #17397B #59177B
monochromatic
#161A05 #3E470D #6B7B17 #98AF21 #BED933

Accessibility & contrast

On white

4.70
#6B7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6B7B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7B17
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7B17#FFFFFF#000000##FFFFFF
##6B7B171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#727469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7b17;
/* rgb */ color: rgb(107, 123, 23);
/* oklch */ color: oklch(55.1% 0.120 118.8);
Tailwind
colors: {
  custom: {
    50: '#99a15e',
    500: '#6b7b17',
    950: '#000000',
  },
}
SCSS
$custom: #6b7b17;
$custom-light: #99a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7b17",
  "rgb": {
    "r": 107,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 69.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.12034,
    "h": 118.8
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#6B7B17
secondary
#503EB0
accent
#3CEB58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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