#7D651B#7D651B

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

Color values

HEX#7D651B
RGBrgb(125, 101, 27)
HSLhsl(45, 64%, 30%)
HSVhsv(45, 78%, 49%)
CMYKcmyk(0%, 19.2%, 78.4%, 51%)
CIE-LABlab(43.87, 1.59, 42.89)
CIE-LCHlch(43.87, 42.92, 87.87°)
OKLaboklab(51.67% 0 0.0942)
OKLCHoklch(51.67% 0.094 90)
XYZxyz(13.3097, 13.7473, 2.9892)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D651B #1B337D
analogous
#7D341B #7D651B #647D1B
triadic
#7D651B #1B7D65 #651B7D
tetradic
#7D651B #1B7D34 #1B337D #7D1B64
square
#7D651B #1B7D34 #1B337D #7D1B64
split-complementary
#7D651B #1B647D #341B7D
monochromatic
#191405 #4B3C10 #7D651B #AF8E26 #D5B03D

Accessibility & contrast

On white

5.60
#7D651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7D651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D651B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D651B#FFFFFF#000000##FFFFFF
##7D651B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d651b;
/* rgb */ color: rgb(125, 101, 27);
/* oklch */ color: oklch(51.7% 0.094 90.0);
Tailwind
colors: {
  custom: {
    50: '#a6905d',
    500: '#7d651b',
    950: '#000000',
  },
}
SCSS
$custom: #7d651b;
$custom-light: #a6905d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d651b",
  "rgb": {
    "r": 125,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 45.306,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.09419,
    "h": 90
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#7D651B
secondary
#435EB1
accent
#69E740
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D651B

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

Preview Lab → · Contrast checker → · Palette generator →

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