#6C751B#6C751B

#6C751B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.7% C 0.110 H 115.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6C751B
RGBrgb(108, 117, 27)
HSLhsl(66, 63%, 28%)
HSVhsv(66, 77%, 46%)
CMYKcmyk(7.7%, 0%, 76.9%, 54.1%)
CIE-LABlab(46.96, -15.47, 45.26)
CIE-LCHlch(46.96, 47.83, 108.88°)
OKLaboklab(53.75% -0.0471 0.0999)
OKLCHoklch(53.75% 0.11 115.2)
XYZxyz(12.7438, 15.9901, 3.4518)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C751B #241B75
analogous
#75511B #6C751B #3F751B
triadic
#6C751B #1B6C75 #751B6C
tetradic
#6C751B #1B7551 #241B75 #751B3F
square
#6C751B #1B7551 #241B75 #751B3F
split-complementary
#6C751B #1B3F75 #511B75
monochromatic
#171906 #3E4310 #6C751B #9AA726 #C2D139

Accessibility & contrast

On white

5.00
#6C751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6C751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C751B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C751B#FFFFFF#000000##FFFFFF
##6C751B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F08
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#736E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c751b;
/* rgb */ color: rgb(108, 117, 27);
/* oklch */ color: oklch(53.7% 0.110 115.2);
Tailwind
colors: {
  custom: {
    50: '#999c5f',
    500: '#6c751b',
    950: '#000000',
  },
}
SCSS
$custom: #6c751b;
$custom-light: #999c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c751b",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 66,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.11046,
    "h": 115.2
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#6C751B
secondary
#4D42A9
accent
#42E653
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C751B

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

Preview Lab → · Contrast checker → · Palette generator →

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