#C7BF52#C7BF52

#C7BF52 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.131 H 105.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C7BF52
RGBrgb(199, 191, 82)
HSLhsl(56, 51%, 55%)
HSVhsv(56, 59%, 78%)
CMYKcmyk(0%, 4%, 58.8%, 22%)
CIE-LABlab(76.08, -10.96, 54.70)
CIE-LCHlch(76.08, 55.79, 101.32°)
OKLaboklab(79% -0.034 0.126)
OKLCHoklch(79% 0.131 105.1)
XYZxyz(43.7084, 50.0144, 15.3324)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF52 #525AC7
analogous
#C78452 #C7BF52 #95C752
triadic
#C7BF52 #52C7BF #BF52C7
tetradic
#C7BF52 #52C784 #525AC7 #C75295
square
#C7BF52 #52C784 #525AC7 #C75295
split-complementary
#C7BF52 #5295C7 #8452C7
monochromatic
#787227 #A69E36 #C7BF52 #D6D080 #E5E1AE

Accessibility & contrast

On white

1.91
#C7BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C7BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF52
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF52#FFFFFF#000000##000000
##C7BF521.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D1BE58
Tritanopia (blue-blind)
#D5B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7bf52;
/* rgb */ color: rgb(199, 191, 82);
/* oklch */ color: oklch(79.0% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#dbd287',
    500: '#c7bf52',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf52;
$custom-light: #dbd287;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf52",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 55.897,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79,
    "c": 0.13054,
    "h": 105.1
  },
  "luminance": 0.50013
}

Semantic roles & 50–950 ramp

primary
#C7BF52
secondary
#3D4180
accent
#57DB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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