#6B7C12#6B7C12

#6B7C12 is a mid, vivid yellow. Relative luminance 0.176; OKLCH L 55.3% C 0.124 H 119.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6B7C12
RGBrgb(107, 124, 18)
HSLhsl(70, 75%, 28%)
HSVhsv(70, 85%, 49%)
CMYKcmyk(13.7%, 0%, 85.5%, 51.4%)
CIE-LABlab(48.99, -20.02, 49.94)
CIE-LCHlch(48.99, 53.80, 111.85°)
OKLaboklab(55.34% -0.0603 0.1082)
OKLCHoklch(55.34% 0.124 119.1)
XYZxyz(13.3805, 17.5849, 3.2615)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7C12 #23127C
analogous
#7C5812 #6B7C12 #367C12
triadic
#6B7C12 #126B7C #7C126B
tetradic
#6B7C12 #127C58 #23127C #7C1236
square
#6B7C12 #127C58 #23127C #7C1236
split-complementary
#6B7C12 #12367C #58127C
monochromatic
#171B04 #3D470A #6B7C12 #99B11A #C2E029

Accessibility & contrast

On white

4.65
#6B7C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6B7C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7C12
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7C12#FFFFFF#000000##FFFFFF
##6B7C121.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#727569
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7c12;
/* rgb */ color: rgb(107, 124, 18);
/* oklch */ color: oklch(55.3% 0.124 119.1);
Tailwind
colors: {
  custom: {
    50: '#99a15c',
    500: '#6b7c12',
    950: '#000000',
  },
}
SCSS
$custom: #6b7c12;
$custom-light: #99a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7c12",
  "rgb": {
    "r": 107,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 69.623,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.12389,
    "h": 119.1
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#6B7C12
secondary
#4B38B2
accent
#37F154
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F04
muted
#7E7E79

Preview Lab

Preview with #6B7C12

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

Preview Lab → · Contrast checker → · Palette generator →

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