#C2B752#C2B752

#C2B752 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.9% C 0.123 H 103.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#C2B752
RGBrgb(194, 183, 82)
HSLhsl(54, 48%, 54%)
HSVhsv(54, 58%, 76%)
CMYKcmyk(0%, 5.7%, 57.7%, 23.9%)
CIE-LABlab(73.51, -8.94, 51.72)
CIE-LCHlch(73.51, 52.48, 99.81°)
OKLaboklab(76.86% -0.0279 0.1198)
OKLCHoklch(76.86% 0.123 103.1)
XYZxyz(40.7060, 45.9470, 14.7054)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B752 #525DC2
analogous
#C27F52 #C2B752 #95C252
triadic
#C2B752 #52C2B7 #B752C2
tetradic
#C2B752 #52C27F #525DC2 #C25295
square
#C2B752 #52C27F #525DC2 #C25295
split-complementary
#C2B752 #5295C2 #7F52C2
monochromatic
#726A28 #9F9538 #C2B752 #D2CA7F #E2DDAC

Accessibility & contrast

On white

2.06
#C2B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#C2B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B752
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B752#FFFFFF#000000##000000
##C2B7521.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#C9B757
Tritanopia (blue-blind)
#CFACA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b752;
/* rgb */ color: rgb(194, 183, 82);
/* oklch */ color: oklch(76.9% 0.123 103.1);
Tailwind
colors: {
  custom: {
    50: '#d7cc86',
    500: '#c2b752',
    950: '#000000',
  },
}
SCSS
$custom: #c2b752;
$custom-light: #d7cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b752",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 54.107,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76857,
    "c": 0.12297,
    "h": 103.1
  },
  "luminance": 0.45946
}

Semantic roles & 50–950 ramp

primary
#C2B752
secondary
#A0A5D0
accent
#5ED750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B752

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

Preview Lab → · Contrast checker → · Palette generator →

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