#7B751C#7B751C

#7B751C is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.106 H 105.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7B751C
RGBrgb(123, 117, 28)
HSLhsl(56, 63%, 30%)
HSVhsv(56, 77%, 48%)
CMYKcmyk(0%, 4.9%, 77.2%, 51.8%)
CIE-LABlab(48.28, -8.45, 46.60)
CIE-LCHlch(48.28, 47.36, 100.28°)
OKLaboklab(55.13% -0.0283 0.1024)
OKLCHoklch(55.13% 0.106 105.4)
XYZxyz(14.7399, 17.0179, 3.6067)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B751C #1C227B
analogous
#7B461C #7B751C #517B1C
triadic
#7B751C #1C7B75 #751C7B
tetradic
#7B751C #1C7B46 #1C227B #7B1C51
square
#7B751C #1C7B46 #1C227B #7B1C51
split-complementary
#7B751C #1C517B #461C7B
monochromatic
#191806 #494611 #7B751C #ADA427 #D3CA3E

Accessibility & contrast

On white

4.77
#7B751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7B751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B751C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B751C#FFFFFF#000000##FFFFFF
##7B751C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#856D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b751c;
/* rgb */ color: rgb(123, 117, 28);
/* oklch */ color: oklch(55.1% 0.106 105.4);
Tailwind
colors: {
  custom: {
    50: '#a49c60',
    500: '#7b751c',
    950: '#000000',
  },
}
SCSS
$custom: #7b751c;
$custom-light: #a49c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b751c",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 56.211,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.10622,
    "h": 105.4
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#7B751C
secondary
#444BAF
accent
#4CE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B751C

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

Preview Lab → · Contrast checker → · Palette generator →

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