#6E7B15#6E7B15

#6E7B15 is a mid, vivid yellow. Relative luminance 0.175; OKLCH L 55.4% C 0.120 H 117.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6E7B15
RGBrgb(110, 123, 21)
HSLhsl(68, 71%, 28%)
HSVhsv(68, 83%, 48%)
CMYKcmyk(10.6%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.93, -18.03, 49.12)
CIE-LCHlch(48.93, 52.32, 110.15°)
OKLaboklab(55.36% -0.0548 0.1069)
OKLCHoklch(55.36% 0.12 117.1)
XYZxyz(13.6491, 17.5352, 3.3749)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7B15 #22157B
analogous
#7B5515 #6E7B15 #3B7B15
triadic
#6E7B15 #156E7B #7B156E
tetradic
#6E7B15 #157B55 #22157B #7B153B
square
#6E7B15 #157B55 #22157B #7B153B
split-complementary
#6E7B15 #153B7B #55157B
monochromatic
#171A04 #3F470C #6E7B15 #9DAF1E #C5DB2F

Accessibility & contrast

On white

4.66
#6E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6E7B15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7B15
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7B15#FFFFFF#000000##FFFFFF
##6E7B151.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#757469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6e7b15;
/* rgb */ color: rgb(110, 123, 21);
/* oklch */ color: oklch(55.4% 0.120 117.1);
Tailwind
colors: {
  custom: {
    50: '#9ba15d',
    500: '#6e7b15',
    950: '#000000',
  },
}
SCSS
$custom: #6e7b15;
$custom-light: #9ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7b15",
  "rgb": {
    "r": 110,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 67.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.12013,
    "h": 117.1
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#6E7B15
secondary
#4A3BB0
accent
#3AEE51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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