#7D891C#7D891C

#7D891C is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.0% C 0.127 H 116.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7D891C
RGBrgb(125, 137, 28)
HSLhsl(67, 66%, 32%)
HSVhsv(67, 80%, 54%)
CMYKcmyk(8.8%, 0%, 79.6%, 46.3%)
CIE-LABlab(54.38, -18.31, 52.29)
CIE-LCHlch(54.38, 55.40, 109.29°)
OKLaboklab(60.05% -0.0558 0.1144)
OKLCHoklch(60.05% 0.127 116)
XYZxyz(17.6132, 22.3354, 4.4817)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D891C #281C89
analogous
#895F1C #7D891C #46891C
triadic
#7D891C #1C7D89 #891C7D
tetradic
#7D891C #1C895F #281C89 #891C46
square
#7D891C #1C895F #281C89 #891C46
split-complementary
#7D891C #1C4689 #5F1C89
monochromatic
#202307 #4F5612 #7D891C #ABBC26 #C9D946

Accessibility & contrast

On white

3.84
#7D891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7D891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D891C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D891C#FFFFFF#000000##000000
##7D891C1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#928326
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d891c;
/* rgb */ color: rgb(125, 137, 28);
/* oklch */ color: oklch(60.0% 0.127 116.0);
Tailwind
colors: {
  custom: {
    50: '#a6ab62',
    500: '#7d891c',
    950: '#000000',
  },
}
SCSS
$custom: #7d891c;
$custom-light: #a6ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d891c",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 66.606,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.12729,
    "h": 116
  },
  "luminance": 0.22335
}

Semantic roles & 50–950 ramp

primary
#7D891C
secondary
#5346BB
accent
#3FE952
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D891C

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

Preview Lab → · Contrast checker → · Palette generator →

#7D891C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva