#7B751F#7B751F

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

Color values

HEX#7B751F
RGBrgb(123, 117, 31)
HSLhsl(56, 60%, 30%)
HSVhsv(56, 75%, 48%)
CMYKcmyk(0%, 4.9%, 74.8%, 51.8%)
CIE-LABlab(48.30, -8.30, 45.48)
CIE-LCHlch(48.30, 46.23, 100.35°)
OKLaboklab(55.15% -0.0275 0.1006)
OKLCHoklch(55.15% 0.104 105.3)
XYZxyz(14.7776, 17.0330, 3.8053)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B751F #1F257B
analogous
#7B471F #7B751F #537B1F
triadic
#7B751F #1F7B75 #751F7B
tetradic
#7B751F #1F7B47 #1F257B #7B1F53
square
#7B751F #1F7B47 #1F257B #7B1F53
split-complementary
#7B751F #1F537B #471F7B
monochromatic
#191806 #4A4713 #7B751F #ACA32B #D0C744

Accessibility & contrast

On white

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

On black

4.41
#7B751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B751F#FFFFFF#000000##FFFFFF
##7B751F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#846D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b751f;
/* rgb */ color: rgb(123, 117, 31);
/* oklch */ color: oklch(55.1% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#a49c61',
    500: '#7b751f',
    950: '#000000',
  },
}
SCSS
$custom: #7b751f;
$custom-light: #a49c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b751f",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 56.087,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55148,
    "c": 0.1043,
    "h": 105.3
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#7B751F
secondary
#484EAE
accent
#4FE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B751F

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

Preview Lab → · Contrast checker → · Palette generator →

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