#6D751B#6D751B

#6D751B is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.8% C 0.110 H 114.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6D751B
RGBrgb(109, 117, 27)
HSLhsl(65, 63%, 28%)
HSVhsv(65, 77%, 46%)
CMYKcmyk(6.8%, 0%, 76.9%, 54.1%)
CIE-LABlab(47.04, -15.01, 45.36)
CIE-LCHlch(47.04, 47.78, 108.31°)
OKLaboklab(53.83% -0.0459 0.1001)
OKLCHoklch(53.83% 0.11 114.6)
XYZxyz(12.8662, 16.0532, 3.4575)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D751B #231B75
analogous
#75501B #6D751B #40751B
triadic
#6D751B #1B6D75 #751B6D
tetradic
#6D751B #1B7550 #231B75 #751B40
square
#6D751B #1B7550 #231B75 #751B40
split-complementary
#6D751B #1B4075 #501B75
monochromatic
#171906 #3F4310 #6D751B #9BA726 #C4D139

Accessibility & contrast

On white

4.99
#6D751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6D751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D751B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D751B#FFFFFF#000000##FFFFFF
##6D751B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F08
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#756E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d751b;
/* rgb */ color: rgb(109, 117, 27);
/* oklch */ color: oklch(53.8% 0.110 114.6);
Tailwind
colors: {
  custom: {
    50: '#9a9c5f',
    500: '#6d751b',
    950: '#000000',
  },
}
SCSS
$custom: #6d751b;
$custom-light: #9a9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d751b",
  "rgb": {
    "r": 109,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 65.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.11012,
    "h": 114.6
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#6D751B
secondary
#4B42A9
accent
#42E651
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D751B

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

Preview Lab → · Contrast checker → · Palette generator →

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