#8C751B#8C751B

#8C751B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.107 H 93.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8C751B
RGBrgb(140, 117, 27)
HSLhsl(48, 68%, 33%)
HSVhsv(48, 81%, 55%)
CMYKcmyk(0%, 16.4%, 80.7%, 45.1%)
CIE-LABlab(49.95, -0.50, 49.11)
CIE-LCHlch(49.95, 49.11, 90.59°)
OKLaboklab(56.84% -0.0069 0.1067)
OKLCHoklch(56.84% 0.107 93.7)
XYZxyz(17.3753, 18.3782, 3.6689)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C751B #1B328C
analogous
#8C3D1B #8C751B #6A8C1B
triadic
#8C751B #1B8C75 #751B8C
tetradic
#8C751B #1B8C3D #1B328C #8C1B6A
square
#8C751B #1B8C3D #1B328C #8C1B6A
split-complementary
#8C751B #1B6A8C #3D1B8C
monochromatic
#251F07 #594A11 #8C751B #BFA025 #DBBD46

Accessibility & contrast

On white

4.49
#8C751B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8C751B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C751B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C751B#FFFFFF#000000##000000
##8C751B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#986B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8c751b;
/* rgb */ color: rgb(140, 117, 27);
/* oklch */ color: oklch(56.8% 0.107 93.7);
Tailwind
colors: {
  custom: {
    50: '#b19c60',
    500: '#8c751b',
    950: '#000000',
  },
}
SCSS
$custom: #8c751b;
$custom-light: #b19c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c751b",
  "rgb": {
    "r": 140,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 47.788,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.10696,
    "h": 93.7
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#8C751B
secondary
#465EBD
accent
#61EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8C751B

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

Preview Lab → · Contrast checker → · Palette generator →

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