#C2BB34#C2BB34

#C2BB34 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.5% C 0.149 H 106.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C2BB34
RGBrgb(194, 187, 52)
HSLhsl(57, 58%, 48%)
HSVhsv(57, 73%, 76%)
CMYKcmyk(0%, 3.6%, 73.2%, 23.9%)
CIE-LABlab(74.36, -12.78, 64.86)
CIE-LCHlch(74.36, 66.11, 101.15°)
OKLaboklab(77.45% -0.042 0.1429)
OKLCHoklch(77.45% 0.149 106.4)
XYZxyz(40.6399, 47.2594, 10.2294)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BB34 #343BC2
analogous
#C27434 #C2BB34 #82C234
triadic
#C2BB34 #34C2BB #BB34C2
tetradic
#C2BB34 #34C274 #343BC2 #C23482
square
#C2BB34 #34C274 #343BC2 #C23482
split-complementary
#C2BB34 #3482C2 #7434C2
monochromatic
#615E1A #928C27 #C2BB34 #D4CE5F #E1DD8F

Accessibility & contrast

On white

2.01
#C2BB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#C2BB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BB34
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BB34#FFFFFF#000000##000000
##C2BB341.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41A
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#D0AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2bb34;
/* rgb */ color: rgb(194, 187, 52);
/* oklch */ color: oklch(77.5% 0.149 106.4);
Tailwind
colors: {
  custom: {
    50: '#d8cf75',
    500: '#c2bb34',
    950: '#000000',
  },
}
SCSS
$custom: #c2bb34;
$custom-light: #d8cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bb34",
  "rgb": {
    "r": 194,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 57.042,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77454,
    "c": 0.14899,
    "h": 106.4
  },
  "luminance": 0.47258
}

Semantic roles & 50–950 ramp

primary
#C2BB34
secondary
#868ACC
accent
#4EE147
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BB34

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

Preview Lab → · Contrast checker → · Palette generator →

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