#7C651B#7C651B

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

Color values

HEX#7C651B
RGBrgb(124, 101, 27)
HSLhsl(46, 64%, 30%)
HSVhsv(46, 78%, 49%)
CMYKcmyk(0%, 18.5%, 78.2%, 51.4%)
CIE-LABlab(43.76, 1.11, 42.75)
CIE-LCHlch(43.76, 42.76, 88.51°)
OKLaboklab(51.56% -0.0013 0.0939)
OKLCHoklch(51.56% 0.094 90.8)
XYZxyz(13.1644, 13.6724, 2.9824)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C651B #1B327C
analogous
#7C351B #7C651B #637C1B
triadic
#7C651B #1B7C65 #651B7C
tetradic
#7C651B #1B7C35 #1B327C #7C1B63
square
#7C651B #1B7C35 #1B327C #7C1B63
split-complementary
#7C651B #1B637C #351B7C
monochromatic
#191405 #4A3C10 #7C651B #AE8E26 #D5B13D

Accessibility & contrast

On white

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

On black

3.73
#7C651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C651B#FFFFFF#000000##FFFFFF
##7C651B1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640E
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#875C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c651b;
/* rgb */ color: rgb(124, 101, 27);
/* oklch */ color: oklch(51.6% 0.094 90.8);
Tailwind
colors: {
  custom: {
    50: '#a5905d',
    500: '#7c651b',
    950: '#000000',
  },
}
SCSS
$custom: #7c651b;
$custom-light: #a5905d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c651b",
  "rgb": {
    "r": 124,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 45.773,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.09394,
    "h": 90.8
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#7C651B
secondary
#435DB0
accent
#68E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C651B

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

Preview Lab → · Contrast checker → · Palette generator →

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