#C2B234#C2B234

#C2B234 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.141 H 101.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C2B234
RGBrgb(194, 178, 52)
HSLhsl(53, 58%, 48%)
HSVhsv(53, 73%, 76%)
CMYKcmyk(0%, 8.2%, 73.2%, 23.9%)
CIE-LABlab(71.93, -8.14, 62.55)
CIE-LCHlch(71.93, 63.08, 97.42°)
OKLaboklab(75.53% -0.029 0.138)
OKLCHoklch(75.53% 0.141 101.9)
XYZxyz(38.7901, 43.5598, 9.6128)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B234 #3444C2
analogous
#C26B34 #C2B234 #8BC234
triadic
#C2B234 #34C2B2 #B234C2
tetradic
#C2B234 #34C26B #3444C2 #C2348B
square
#C2B234 #34C26B #3444C2 #C2348B
split-complementary
#C2B234 #348BC2 #6B34C2
monochromatic
#61591A #928627 #C2B234 #D4C75F #E1D88F

Accessibility & contrast

On white

2.16
#C2B234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C2B234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B234
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B234#FFFFFF#000000##000000
##C2B2341.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1D
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#D1A599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b234;
/* rgb */ color: rgb(194, 178, 52);
/* oklch */ color: oklch(75.5% 0.141 101.9);
Tailwind
colors: {
  custom: {
    50: '#d8c874',
    500: '#c2b234',
    950: '#000000',
  },
}
SCSS
$custom: #c2b234;
$custom-light: #d8c874;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b234",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 53.239,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75527,
    "c": 0.14105,
    "h": 101.9
  },
  "luminance": 0.43558
}

Semantic roles & 50–950 ramp

primary
#C2B234
secondary
#868ECC
accent
#58E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B234

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

Preview Lab → · Contrast checker → · Palette generator →

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