#C2B754#C2B754

#C2B754 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.121 H 103.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C2B754
RGBrgb(194, 183, 84)
HSLhsl(54, 47%, 55%)
HSVhsv(54, 57%, 76%)
CMYKcmyk(0%, 5.7%, 56.7%, 23.9%)
CIE-LABlab(73.53, -8.79, 50.81)
CIE-LCHlch(73.53, 51.57, 99.81°)
OKLaboklab(76.88% -0.0272 0.1181)
OKLCHoklch(76.88% 0.121 103)
XYZxyz(40.7832, 45.9778, 15.1121)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B754 #545FC2
analogous
#C28054 #C2B754 #96C254
triadic
#C2B754 #54C2B7 #B754C2
tetradic
#C2B754 #54C280 #545FC2 #C25496
square
#C2B754 #54C280 #545FC2 #C25496
split-complementary
#C2B754 #5496C2 #8054C2
monochromatic
#736B29 #A09639 #C2B754 #D2CA81 #E2DDAE

Accessibility & contrast

On white

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

On black

10.20
#C2B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B754
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B754#FFFFFF#000000##000000
##C2B7541.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b754;
/* rgb */ color: rgb(194, 183, 84);
/* oklch */ color: oklch(76.9% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#d7cc87',
    500: '#c2b754',
    950: '#000000',
  },
}
SCSS
$custom: #c2b754;
$custom-light: #d7cc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b754",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 54,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76879,
    "c": 0.12117,
    "h": 103
  },
  "luminance": 0.45976
}

Semantic roles & 50–950 ramp

primary
#C2B754
secondary
#A2A6D0
accent
#5ED751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B754

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

Preview Lab → · Contrast checker → · Palette generator →

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