#6B7010#6B7010

#6B7010 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.111 H 112.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6B7010
RGBrgb(107, 112, 16)
HSLhsl(63, 75%, 25%)
HSVhsv(63, 86%, 44%)
CMYKcmyk(4.5%, 0%, 85.7%, 56.1%)
CIE-LABlab(45.29, -13.70, 47.30)
CIE-LCHlch(45.29, 49.24, 106.15°)
OKLaboklab(52.37% -0.043 0.1022)
OKLCHoklch(52.37% 0.111 112.8)
XYZxyz(11.9515, 14.7518, 2.7079)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7010 #151070
analogous
#704510 #6B7010 #3B7010
triadic
#6B7010 #106B70 #70106B
tetradic
#6B7010 #107045 #151070 #70103B
square
#6B7010 #107045 #151070 #70103B
split-complementary
#6B7010 #103B70 #451070
monochromatic
#1A1B04 #383A08 #6B7010 #9EA618 #D1DB1F

Accessibility & contrast

On white

5.32
#6B7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7010
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7010#FFFFFF#000000##FFFFFF
##6B70101.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b7010;
/* rgb */ color: rgb(107, 112, 16);
/* oklch */ color: oklch(52.4% 0.111 112.8);
Tailwind
colors: {
  custom: {
    50: '#999859',
    500: '#6b7010',
    950: '#000000',
  },
}
SCSS
$custom: #6b7010;
$custom-light: #999859;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7010",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 63.125,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.1109,
    "h": 112.8
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#6B7010
secondary
#3A34A8
accent
#36F240
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7010

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

Preview Lab → · Contrast checker → · Palette generator →

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