#C7B841#C7B841

#C7B841 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.4% C 0.137 H 102.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#C7B841
RGBrgb(199, 184, 65)
HSLhsl(53, 54%, 52%)
HSVhsv(53, 67%, 78%)
CMYKcmyk(0%, 7.5%, 67.3%, 22%)
CIE-LABlab(74.07, -8.44, 59.82)
CIE-LCHlch(74.07, 60.42, 98.03°)
OKLaboklab(77.35% -0.0287 0.1344)
OKLCHoklch(77.35% 0.137 102.1)
XYZxyz(41.6496, 46.8065, 11.8407)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B841 #4150C7
analogous
#C77541 #C7B841 #93C741
triadic
#C7B841 #41C7B8 #B841C7
tetradic
#C7B841 #41C775 #4150C7 #C74193
square
#C7B841 #41C775 #4150C7 #C74193
split-complementary
#C7B841 #4193C7 #7541C7
monochromatic
#6D6520 #9D902E #C7B841 #D5CA70 #E3DBA0

Accessibility & contrast

On white

2.03
#C7B841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#C7B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B841
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B841#FFFFFF#000000##000000
##C7B8411.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#D6ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c7b841;
/* rgb */ color: rgb(199, 184, 65);
/* oklch */ color: oklch(77.4% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#dbcd7c',
    500: '#c7b841',
    950: '#000000',
  },
}
SCSS
$custom: #c7b841;
$custom-light: #dbcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b841",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 53.284,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77354,
    "c": 0.13742,
    "h": 102.1
  },
  "luminance": 0.46805
}

Semantic roles & 50–950 ramp

primary
#C7B841
secondary
#959BCF
accent
#5BDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B841

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

Preview Lab → · Contrast checker → · Palette generator →

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