#C2BD40#C2BD40

#C2BD40 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.0% C 0.143 H 107.1°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C2BD40
RGBrgb(194, 189, 64)
HSLhsl(58, 52%, 51%)
HSVhsv(58, 67%, 76%)
CMYKcmyk(0%, 2.6%, 67%, 23.9%)
CIE-LABlab(74.97, -13.20, 61.01)
CIE-LCHlch(74.97, 62.42, 102.20°)
OKLaboklab(77.97% -0.042 0.1369)
OKLCHoklch(77.97% 0.143 107.1)
XYZxyz(41.3726, 48.2361, 11.9806)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BD40 #4045C2
analogous
#C27C40 #C2BD40 #86C240
triadic
#C2BD40 #40C2BD #BD40C2
tetradic
#C2BD40 #40C27C #4045C2 #C24086
square
#C2BD40 #40C27C #4045C2 #C24086
split-complementary
#C2BD40 #4086C2 #7C40C2
monochromatic
#676421 #959130 #C2BD40 #D1CD6E #E0DD9D

Accessibility & contrast

On white

1.97
#C2BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#C2BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BD40
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BD40#FFFFFF#000000##000000
##C2BD401.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#D0B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c2bd40;
/* rgb */ color: rgb(194, 189, 64);
/* oklch */ color: oklch(78.0% 0.143 107.1);
Tailwind
colors: {
  custom: {
    50: '#d8d07c',
    500: '#c2bd40',
    950: '#000000',
  },
}
SCSS
$custom: #c2bd40;
$custom-light: #d8d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bd40",
  "rgb": {
    "r": 194,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 57.692,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77972,
    "c": 0.14319,
    "h": 107.1
  },
  "luminance": 0.48235
}

Semantic roles & 50–950 ramp

primary
#C2BD40
secondary
#9294CC
accent
#52DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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