#C7B141#C7B141

#C7B141 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.132 H 98.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C7B141
RGBrgb(199, 177, 65)
HSLhsl(50, 54%, 52%)
HSVhsv(50, 67%, 78%)
CMYKcmyk(0%, 11.1%, 67.3%, 22%)
CIE-LABlab(72.21, -4.79, 57.91)
CIE-LCHlch(72.21, 58.11, 94.73°)
OKLaboklab(75.88% -0.0183 0.1303)
OKLCHoklch(75.88% 0.132 98)
XYZxyz(40.2313, 43.9700, 11.3679)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B141 #4157C7
analogous
#C76E41 #C7B141 #9AC741
triadic
#C7B141 #41C7B1 #B141C7
tetradic
#C7B141 #41C76E #4157C7 #C7419A
square
#C7B141 #41C76E #4157C7 #C7419A
split-complementary
#C7B141 #419AC7 #6E41C7
monochromatic
#6D6120 #9D8A2E #C7B141 #D5C470 #E3D8A0

Accessibility & contrast

On white

2.14
#C7B141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C7B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B141
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B141#FFFFFF#000000##000000
##C7B1411.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#D6A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7b141;
/* rgb */ color: rgb(199, 177, 65);
/* oklch */ color: oklch(75.9% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#dbc87b',
    500: '#c7b141',
    950: '#000000',
  },
}
SCSS
$custom: #c7b141;
$custom-light: #dbc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b141",
  "rgb": {
    "r": 199,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 50.149,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.13162,
    "h": 98
  },
  "luminance": 0.43968
}

Semantic roles & 50–950 ramp

primary
#C7B141
secondary
#959ECF
accent
#62DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B141

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

Preview Lab → · Contrast checker → · Palette generator →

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