#7B6F18#7B6F18

#7B6F18 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.103 H 101.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B6F18
RGBrgb(123, 111, 24)
HSLhsl(53, 67%, 29%)
HSVhsv(53, 80%, 48%)
CMYKcmyk(0%, 9.8%, 80.5%, 51.8%)
CIE-LABlab(46.51, -5.25, 46.40)
CIE-LCHlch(46.51, 46.70, 96.46°)
OKLaboklab(53.71% -0.0197 0.1011)
OKLCHoklch(53.71% 0.103 101)
XYZxyz(14.0184, 15.6464, 3.1456)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F18 #18247B
analogous
#7B3E18 #7B6F18 #567B18
triadic
#7B6F18 #187B6F #6F187B
tetradic
#7B6F18 #187B3E #18247B #7B1856
square
#7B6F18 #187B3E #18247B #7B1856
split-complementary
#7B6F18 #18567B #3E187B
monochromatic
#1A1705 #48410E #7B6F18 #AE9D22 #D8C436

Accessibility & contrast

On white

5.09
#7B6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6F18
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6F18#FFFFFF#000000##FFFFFF
##7B6F181.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C04
Deuteranopia (green-blind)
#7E701E
Tritanopia (blue-blind)
#85665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b6f18;
/* rgb */ color: rgb(123, 111, 24);
/* oklch */ color: oklch(53.7% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a5985d',
    500: '#7b6f18',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f18;
$custom-light: #a5985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f18",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 52.727,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53707,
    "c": 0.10304,
    "h": 101
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#7B6F18
secondary
#3F4DB0
accent
#52EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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