#C2B834#C2B834

#C2B834 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.146 H 104.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C2B834
RGBrgb(194, 184, 52)
HSLhsl(56, 58%, 48%)
HSVhsv(56, 73%, 76%)
CMYKcmyk(0%, 5.2%, 73.2%, 23.9%)
CIE-LABlab(73.55, -11.25, 64.09)
CIE-LCHlch(73.55, 65.07, 99.95°)
OKLaboklab(76.81% -0.0377 0.1413)
OKLCHoklch(76.81% 0.146 104.9)
XYZxyz(40.0101, 45.9998, 10.0195)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B834 #343EC2
analogous
#C27134 #C2B834 #85C234
triadic
#C2B834 #34C2B8 #B834C2
tetradic
#C2B834 #34C271 #343EC2 #C23485
square
#C2B834 #34C271 #343EC2 #C23485
split-complementary
#C2B834 #3485C2 #7134C2
monochromatic
#615C1A #928A27 #C2B834 #D4CC5F #E1DB8F

Accessibility & contrast

On white

2.06
#C2B834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C2B834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B834
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B834#FFFFFF#000000##000000
##C2B8341.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11B
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#D1AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b834;
/* rgb */ color: rgb(194, 184, 52);
/* oklch */ color: oklch(76.8% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#d8cd75',
    500: '#c2b834',
    950: '#000000',
  },
}
SCSS
$custom: #c2b834;
$custom-light: #d8cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b834",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 55.775,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76809,
    "c": 0.14626,
    "h": 104.9
  },
  "luminance": 0.45998
}

Semantic roles & 50–950 ramp

primary
#C2B834
secondary
#868BCC
accent
#52E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B834

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

Preview Lab → · Contrast checker → · Palette generator →

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