#C2B034#C2B034

#C2B034 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.1% C 0.139 H 100.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C2B034
RGBrgb(194, 176, 52)
HSLhsl(52, 58%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 9.3%, 73.2%, 23.9%)
CIE-LABlab(71.40, -7.10, 62.04)
CIE-LCHlch(71.40, 62.45, 96.53°)
OKLaboklab(75.1% -0.026 0.1369)
OKLCHoklch(75.1% 0.139 100.8)
XYZxyz(38.3951, 42.7697, 9.4811)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B034 #3446C2
analogous
#C26934 #C2B034 #8DC234
triadic
#C2B034 #34C2B0 #B034C2
tetradic
#C2B034 #34C269 #3446C2 #C2348D
square
#C2B034 #34C269 #3446C2 #C2348D
split-complementary
#C2B034 #348DC2 #6934C2
monochromatic
#61581A #928427 #C2B034 #D4C55F #E1D78F

Accessibility & contrast

On white

2.20
#C2B034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#C2B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B034
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B034#FFFFFF#000000##000000
##C2B0341.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1E
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b034;
/* rgb */ color: rgb(194, 176, 52);
/* oklch */ color: oklch(75.1% 0.139 100.8);
Tailwind
colors: {
  custom: {
    50: '#d8c774',
    500: '#c2b034',
    950: '#000000',
  },
}
SCSS
$custom: #c2b034;
$custom-light: #d8c774;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b034",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 52.394,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75102,
    "c": 0.1394,
    "h": 100.8
  },
  "luminance": 0.42768
}

Semantic roles & 50–950 ramp

primary
#C2B034
secondary
#868FCC
accent
#5AE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B034

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

Preview Lab → · Contrast checker → · Palette generator →

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