#7B6318#7B6318

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

Color values

HEX#7B6318
RGBrgb(123, 99, 24)
HSLhsl(45, 67%, 29%)
HSVhsv(45, 80%, 48%)
CMYKcmyk(0%, 19.5%, 80.5%, 51.8%)
CIE-LABlab(43.07, 1.67, 43.24)
CIE-LCHlch(43.07, 43.27, 87.79°)
OKLaboklab(50.98% 0 0.0944)
OKLCHoklch(50.98% 0.094 90)
XYZxyz(12.7959, 13.2014, 2.7381)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6318 #18307B
analogous
#7B3218 #7B6318 #627B18
triadic
#7B6318 #187B63 #63187B
tetradic
#7B6318 #187B32 #18307B #7B1862
square
#7B6318 #187B32 #18307B #7B1862
split-complementary
#7B6318 #18627B #32187B
monochromatic
#1A1505 #483A0E #7B6318 #AE8C22 #D8B036

Accessibility & contrast

On white

5.77
#7B6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6318
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6318#FFFFFF#000000##FFFFFF
##7B63181.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6209
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#865A55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b6318;
/* rgb */ color: rgb(123, 99, 24);
/* oklch */ color: oklch(51.0% 0.094 90.0);
Tailwind
colors: {
  custom: {
    50: '#a58f5b',
    500: '#7b6318',
    950: '#000000',
  },
}
SCSS
$custom: #7b6318;
$custom-light: #a58f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6318",
  "rgb": {
    "r": 123,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 45.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50984,
    "c": 0.09437,
    "h": 90
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#7B6318
secondary
#3F5AB0
accent
#67EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6318

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

Preview Lab → · Contrast checker → · Palette generator →

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