#C7B341#C7B341

#C7B341 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.133 H 99.2°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C7B341
RGBrgb(199, 179, 65)
HSLhsl(51, 54%, 52%)
HSVhsv(51, 67%, 78%)
CMYKcmyk(0%, 10.1%, 67.3%, 22%)
CIE-LABlab(72.74, -5.84, 58.46)
CIE-LCHlch(72.74, 58.75, 95.71°)
OKLaboklab(76.3% -0.0213 0.1315)
OKLCHoklch(76.3% 0.133 99.2)
XYZxyz(40.6292, 44.7658, 11.5006)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B341 #4155C7
analogous
#C77041 #C7B341 #98C741
triadic
#C7B341 #41C7B3 #B341C7
tetradic
#C7B341 #41C770 #4155C7 #C74198
square
#C7B341 #41C770 #4155C7 #C74198
split-complementary
#C7B341 #4198C7 #7041C7
monochromatic
#6D6220 #9D8C2E #C7B341 #D5C670 #E3D9A0

Accessibility & contrast

On white

2.11
#C7B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C7B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B341
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B341#FFFFFF#000000##000000
##C7B3411.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#D6A69C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b341;
/* rgb */ color: rgb(199, 179, 65);
/* oklch */ color: oklch(76.3% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#dbc97c',
    500: '#c7b341',
    950: '#000000',
  },
}
SCSS
$custom: #c7b341;
$custom-light: #dbc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b341",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 51.045,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.763,
    "c": 0.13322,
    "h": 99.2
  },
  "luminance": 0.44764
}

Semantic roles & 50–950 ramp

primary
#C7B341
secondary
#959DCF
accent
#60DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B341

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

Preview Lab → · Contrast checker → · Palette generator →

#C7B341 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva