#6B7B15#6B7B15

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

Color values

HEX#6B7B15
RGBrgb(107, 123, 21)
HSLhsl(69, 71%, 28%)
HSVhsv(69, 83%, 48%)
CMYKcmyk(13%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.69, -19.38, 48.82)
CIE-LCHlch(48.69, 52.53, 111.66°)
OKLaboklab(55.11% -0.0583 0.1064)
OKLCHoklch(55.11% 0.121 118.7)
XYZxyz(13.2820, 17.3460, 3.3577)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7B15 #25157B
analogous
#7B5815 #6B7B15 #387B15
triadic
#6B7B15 #156B7B #7B156B
tetradic
#6B7B15 #157B58 #25157B #7B1538
square
#6B7B15 #157B58 #25157B #7B1538
split-complementary
#6B7B15 #15387B #58157B
monochromatic
#171A04 #3E470C #6B7B15 #98AF1E #C0DB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7B15#FFFFFF#000000##FFFFFF
##6B7B151.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)
#82741F
Tritanopia (blue-blind)
#727469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7b15;
/* rgb */ color: rgb(107, 123, 21);
/* oklch */ color: oklch(55.1% 0.121 118.7);
Tailwind
colors: {
  custom: {
    50: '#99a15d',
    500: '#6b7b15',
    950: '#000000',
  },
}
SCSS
$custom: #6b7b15;
$custom-light: #99a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7b15",
  "rgb": {
    "r": 107,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 69.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.12134,
    "h": 118.7
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#6B7B15
secondary
#4E3BB0
accent
#3AEE56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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