#C2BF54#C2BF54

#C2BF54 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.6% C 0.129 H 107.5°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C2BF54
RGBrgb(194, 191, 84)
HSLhsl(58, 47%, 55%)
HSVhsv(58, 57%, 76%)
CMYKcmyk(0%, 1.5%, 56.7%, 23.9%)
CIE-LABlab(75.68, -12.90, 53.25)
CIE-LCHlch(75.68, 54.79, 103.62°)
OKLaboklab(78.59% -0.039 0.1233)
OKLCHoklch(78.59% 0.129 107.5)
XYZxyz(42.4804, 49.3723, 15.6779)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BF54 #5457C2
analogous
#C28854 #C2BF54 #8EC254
triadic
#C2BF54 #54C2BF #BF54C2
tetradic
#C2BF54 #54C288 #5457C2 #C2548E
square
#C2BF54 #54C288 #5457C2 #C2548E
split-complementary
#C2BF54 #548EC2 #8854C2
monochromatic
#737129 #A09D39 #C2BF54 #D2D081 #E2E1AE

Accessibility & contrast

On white

1.93
#C2BF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#C2BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BF54
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BF54#FFFFFF#000000##000000
##C2BF541.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#CFB4A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c2bf54;
/* rgb */ color: rgb(194, 191, 84);
/* oklch */ color: oklch(78.6% 0.129 107.5);
Tailwind
colors: {
  custom: {
    50: '#d7d288',
    500: '#c2bf54',
    950: '#000000',
  },
}
SCSS
$custom: #c2bf54;
$custom-light: #d7d288;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bf54",
  "rgb": {
    "r": 194,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 58.364,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7859,
    "c": 0.1293,
    "h": 107.5
  },
  "luminance": 0.49371
}

Semantic roles & 50–950 ramp

primary
#C2BF54
secondary
#A2A3D0
accent
#54D751
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C2BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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