#C2B652#C2B652

#C2B652 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.6% C 0.122 H 102.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#C2B652
RGBrgb(194, 182, 82)
HSLhsl(54, 48%, 54%)
HSVhsv(54, 58%, 76%)
CMYKcmyk(0%, 6.2%, 57.7%, 23.9%)
CIE-LABlab(73.24, -8.42, 51.41)
CIE-LCHlch(73.24, 52.10, 99.30°)
OKLaboklab(76.64% -0.0264 0.1191)
OKLCHoklch(76.64% 0.122 102.5)
XYZxyz(40.5005, 45.5359, 14.6369)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B652 #525EC2
analogous
#C27E52 #C2B652 #96C252
triadic
#C2B652 #52C2B6 #B652C2
tetradic
#C2B652 #52C27E #525EC2 #C25296
square
#C2B652 #52C27E #525EC2 #C25296
split-complementary
#C2B652 #5296C2 #7E52C2
monochromatic
#726A28 #9F9438 #C2B652 #D2C97F #E2DCAC

Accessibility & contrast

On white

2.08
#C2B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#C2B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B652
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B652#FFFFFF#000000##000000
##C2B6521.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#C9B657
Tritanopia (blue-blind)
#CFABA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b652;
/* rgb */ color: rgb(194, 182, 82);
/* oklch */ color: oklch(76.6% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#d7cb86',
    500: '#c2b652',
    950: '#000000',
  },
}
SCSS
$custom: #c2b652;
$custom-light: #d7cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b652",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 53.571,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76644,
    "c": 0.12202,
    "h": 102.5
  },
  "luminance": 0.45534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B652

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

Preview Lab → · Contrast checker → · Palette generator →

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