#C2BB45#C2BB45

#C2BB45 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.138 H 105.9°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#C2BB45
RGBrgb(194, 187, 69)
HSLhsl(57, 51%, 52%)
HSVhsv(57, 64%, 76%)
CMYKcmyk(0%, 3.6%, 64.4%, 23.9%)
CIE-LABlab(74.47, -11.88, 58.47)
CIE-LCHlch(74.47, 59.66, 101.49°)
OKLaboklab(77.58% -0.0377 0.1323)
OKLCHoklch(77.58% 0.138 105.9)
XYZxyz(41.0941, 47.4411, 12.6214)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BB45 #454CC2
analogous
#C27D45 #C2BB45 #8BC245
triadic
#C2BB45 #45C2BB #BB45C2
tetradic
#C2BB45 #45C27D #454CC2 #C2458B
square
#C2BB45 #45C27D #454CC2 #C2458B
split-complementary
#C2BB45 #458BC2 #7D45C2
monochromatic
#6A6623 #989232 #C2BB45 #D1CC73 #E0DDA1

Accessibility & contrast

On white

2.00
#C2BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#C2BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BB45
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BB45#FFFFFF#000000##000000
##C2BB451.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#CDBA4C
Tritanopia (blue-blind)
#D0AFA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2bb45;
/* rgb */ color: rgb(194, 187, 69);
/* oklch */ color: oklch(77.6% 0.138 105.9);
Tailwind
colors: {
  custom: {
    50: '#d7cf7e',
    500: '#c2bb45',
    950: '#000000',
  },
}
SCSS
$custom: #c2bb45;
$custom-light: #d7cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bb45",
  "rgb": {
    "r": 194,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 56.64,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77583,
    "c": 0.13759,
    "h": 105.9
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#C2BB45
secondary
#9699CD
accent
#56DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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