#C2B734#C2B734

#C2B734 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.6% C 0.145 H 104.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C2B734
RGBrgb(194, 183, 52)
HSLhsl(55, 58%, 48%)
HSVhsv(55, 73%, 76%)
CMYKcmyk(0%, 5.7%, 73.2%, 23.9%)
CIE-LABlab(73.28, -10.73, 63.84)
CIE-LCHlch(73.28, 64.73, 99.54°)
OKLaboklab(76.6% -0.0363 0.1408)
OKLCHoklch(76.6% 0.145 104.4)
XYZxyz(39.8032, 45.5858, 9.9505)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B734 #343FC2
analogous
#C27034 #C2B734 #86C234
triadic
#C2B734 #34C2B7 #B734C2
tetradic
#C2B734 #34C270 #343FC2 #C23486
square
#C2B734 #34C270 #343FC2 #C23486
split-complementary
#C2B734 #3486C2 #7034C2
monochromatic
#615C1A #928927 #C2B734 #D4CB5F #E1DB8F

Accessibility & contrast

On white

2.08
#C2B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C2B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B734
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B734#FFFFFF#000000##000000
##C2B7341.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B11B
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#D1AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b734;
/* rgb */ color: rgb(194, 183, 52);
/* oklch */ color: oklch(76.6% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#d8cc75',
    500: '#c2b734',
    950: '#000000',
  },
}
SCSS
$custom: #c2b734;
$custom-light: #d8cc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b734",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 55.352,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76595,
    "c": 0.14536,
    "h": 104.4
  },
  "luminance": 0.45584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B734

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

Preview Lab → · Contrast checker → · Palette generator →

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