#C2B454#C2B454

#C2B454 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.118 H 101.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C2B454
RGBrgb(194, 180, 84)
HSLhsl(52, 47%, 55%)
HSVhsv(52, 57%, 76%)
CMYKcmyk(0%, 7.2%, 56.7%, 23.9%)
CIE-LABlab(72.73, -7.23, 49.90)
CIE-LCHlch(72.73, 50.42, 98.24°)
OKLaboklab(76.24% -0.0228 0.1161)
OKLCHoklch(76.24% 0.118 101.1)
XYZxyz(40.1710, 44.7535, 14.9081)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B454 #5462C2
analogous
#C27D54 #C2B454 #99C254
triadic
#C2B454 #54C2B4 #B454C2
tetradic
#C2B454 #54C27D #5462C2 #C25499
square
#C2B454 #54C27D #5462C2 #C25499
split-complementary
#C2B454 #5499C2 #7D54C2
monochromatic
#736929 #A09339 #C2B454 #D2C881 #E2DCAE

Accessibility & contrast

On white

2.11
#C2B454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C2B454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B454
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B454#FFFFFF#000000##000000
##C2B4541.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4A
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b454;
/* rgb */ color: rgb(194, 180, 84);
/* oklch */ color: oklch(76.2% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#d7ca87',
    500: '#c2b454',
    950: '#000000',
  },
}
SCSS
$custom: #c2b454;
$custom-light: #d7ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b454",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 52.364,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76243,
    "c": 0.11831,
    "h": 101.1
  },
  "luminance": 0.44752
}

Semantic roles & 50–950 ramp

primary
#C2B454
secondary
#A2A8D0
accent
#62D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B454

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

Preview Lab → · Contrast checker → · Palette generator →

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