#7C651F#7C651F

#7C651F is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.091 H 90.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C651F
RGBrgb(124, 101, 31)
HSLhsl(45, 60%, 30%)
HSVhsv(45, 75%, 49%)
CMYKcmyk(0%, 18.5%, 75%, 51.4%)
CIE-LABlab(43.79, 1.31, 41.09)
CIE-LCHlch(43.79, 41.11, 88.17°)
OKLaboklab(51.6% -0.0003 0.0913)
OKLCHoklch(51.6% 0.091 90.2)
XYZxyz(13.2139, 13.6922, 3.2429)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C651F #1F367C
analogous
#7C361F #7C651F #647C1F
triadic
#7C651F #1F7C65 #651F7C
tetradic
#7C651F #1F7C36 #1F367C #7C1F64
square
#7C651F #1F7C36 #1F367C #7C1F64
split-complementary
#7C651F #1F647C #361F7C
monochromatic
#1A1507 #4B3D13 #7C651F #AD8D2B #D0AE45

Accessibility & contrast

On white

5.62
#7C651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7C651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C651F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C651F#FFFFFF#000000##FFFFFF
##7C651F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#875C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c651f;
/* rgb */ color: rgb(124, 101, 31);
/* oklch */ color: oklch(51.6% 0.091 90.2);
Tailwind
colors: {
  custom: {
    50: '#a5905f',
    500: '#7c651f',
    950: '#000000',
  },
}
SCSS
$custom: #7c651f;
$custom-light: #a5905f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c651f",
  "rgb": {
    "r": 124,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 45.161,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.09127,
    "h": 90.2
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#7C651F
secondary
#4861AF
accent
#6CE345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C651F

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

Preview Lab → · Contrast checker → · Palette generator →

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