#7C7B45#7C7B45

#7C7B45 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.075 H 107.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7C7B45
RGBrgb(124, 123, 69)
HSLhsl(59, 28%, 38%)
HSVhsv(59, 44%, 49%)
CMYKcmyk(0%, 0.8%, 44.4%, 51.4%)
CIE-LABlab(50.55, -8.09, 29.58)
CIE-LCHlch(50.55, 30.66, 105.30°)
OKLaboklab(57.09% -0.0227 0.0714)
OKLCHoklch(57.09% 0.075 107.6)
XYZxyz(16.4696, 18.8810, 8.4059)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B45 #45467C
analogous
#7C5F45 #7C7B45 #617C45
triadic
#7C7B45 #457C7B #7B457C
tetradic
#7C7B45 #457C5F #45467C #7C4561
square
#7C7B45 #457C5F #45467C #7C4561
split-complementary
#7C7B45 #45617C #5F457C
monochromatic
#2D2D19 #55542F #7C7B45 #A3A25B #B9B882

Accessibility & contrast

On white

4.40
#7C7B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7C7B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B45
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B45#FFFFFF#000000##000000
##7C7B451.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837741
Deuteranopia (green-blind)
#847947
Tritanopia (blue-blind)
#83756E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7b45;
/* rgb */ color: rgb(124, 123, 69);
/* oklch */ color: oklch(57.1% 0.075 107.6);
Tailwind
colors: {
  custom: {
    50: '#a3a17a',
    500: '#7c7b45',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b45;
$custom-light: #a3a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b45",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 58.909,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.07488,
    "h": 107.6
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#7C7B45
secondary
#7879A5
accent
#65C563
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7B45

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

Preview Lab → · Contrast checker → · Palette generator →

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