#7D681C#7D681C

#7D681C is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.4% C 0.095 H 92.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7D681C
RGBrgb(125, 104, 28)
HSLhsl(47, 63%, 30%)
HSVhsv(47, 78%, 49%)
CMYKcmyk(0%, 16.8%, 77.6%, 51%)
CIE-LABlab(44.72, -0.11, 43.30)
CIE-LCHlch(44.72, 43.30, 90.14°)
OKLaboklab(52.35% -0.0048 0.0953)
OKLCHoklch(52.35% 0.095 92.9)
XYZxyz(13.6181, 14.3452, 3.1500)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D681C #1C317D
analogous
#7D371C #7D681C #627D1C
triadic
#7D681C #1C7D68 #681C7D
tetradic
#7D681C #1C7D37 #1C317D #7D1C62
square
#7D681C #1C7D37 #1C317D #7D1C62
split-complementary
#7D681C #1C627D #371C7D
monochromatic
#191506 #4B3E11 #7D681C #AF9227 #D4B43F

Accessibility & contrast

On white

5.43
#7D681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D681C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D681C#FFFFFF#000000##FFFFFF
##7D681C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660F
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d681c;
/* rgb */ color: rgb(125, 104, 28);
/* oklch */ color: oklch(52.4% 0.095 92.9);
Tailwind
colors: {
  custom: {
    50: '#a6925e',
    500: '#7d681c',
    950: '#000000',
  },
}
SCSS
$custom: #7d681c;
$custom-light: #a6925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d681c",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 47.01,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.0954,
    "h": 92.9
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#7D681C
secondary
#445CB1
accent
#65E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7D681C

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

Preview Lab → · Contrast checker → · Palette generator →

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