#C7B849#C7B849

#C7B849 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.131 H 101.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C7B849
RGBrgb(199, 184, 73)
HSLhsl(53, 53%, 53%)
HSVhsv(53, 63%, 78%)
CMYKcmyk(0%, 7.5%, 63.3%, 22%)
CIE-LABlab(74.13, -7.96, 56.54)
CIE-LCHlch(74.13, 57.10, 98.01°)
OKLaboklab(77.43% -0.0264 0.1287)
OKLCHoklch(77.43% 0.131 101.6)
XYZxyz(41.8979, 46.9058, 13.1488)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B849 #4958C7
analogous
#C77949 #C7B849 #97C749
triadic
#C7B849 #49C7B8 #B849C7
tetradic
#C7B849 #49C779 #4958C7 #C74997
square
#C7B849 #49C779 #4958C7 #C74997
split-complementary
#C7B849 #4997C7 #7949C7
monochromatic
#726923 #A19432 #C7B849 #D5CA78 #E4DDA7

Accessibility & contrast

On white

2.02
#C7B849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C7B849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B849
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B849#FFFFFF#000000##000000
##C7B8491.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33C
Deuteranopia (green-blind)
#CCB94F
Tritanopia (blue-blind)
#D5ACA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c7b849;
/* rgb */ color: rgb(199, 184, 73);
/* oklch */ color: oklch(77.4% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#dbcd81',
    500: '#c7b849',
    950: '#000000',
  },
}
SCSS
$custom: #c7b849;
$custom-light: #dbcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b849",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 52.857,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77425,
    "c": 0.13139,
    "h": 101.6
  },
  "luminance": 0.46904
}

Semantic roles & 50–950 ramp

primary
#C7B849
secondary
#9BA1D1
accent
#5DDC4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B849

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

Preview Lab → · Contrast checker → · Palette generator →

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