#C2A734#C2A734

#C2A734 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.133 H 95.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C2A734
RGBrgb(194, 167, 52)
HSLhsl(49, 58%, 48%)
HSVhsv(49, 73%, 76%)
CMYKcmyk(0%, 13.9%, 73.2%, 23.9%)
CIE-LABlab(69.01, -2.36, 59.73)
CIE-LCHlch(69.01, 59.78, 92.26°)
OKLaboklab(73.21% -0.0126 0.1321)
OKLCHoklch(73.21% 0.133 95.4)
XYZxyz(36.6886, 39.3567, 8.9123)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A734 #344FC2
analogous
#C26034 #C2A734 #96C234
triadic
#C2A734 #34C2A7 #A734C2
tetradic
#C2A734 #34C260 #344FC2 #C23496
square
#C2A734 #34C260 #344FC2 #C23496
split-complementary
#C2A734 #3496C2 #6034C2
monochromatic
#61541A #927D27 #C2A734 #D4BE5F #E1D28F

Accessibility & contrast

On white

2.37
#C2A734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C2A734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A734
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A734#FFFFFF#000000##000000
##C2A7341.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A421
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#D29A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a734;
/* rgb */ color: rgb(194, 167, 52);
/* oklch */ color: oklch(73.2% 0.133 95.4);
Tailwind
colors: {
  custom: {
    50: '#d8c073',
    500: '#c2a734',
    950: '#000000',
  },
}
SCSS
$custom: #c2a734;
$custom-light: #d8c073;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a734",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 52
  },
  "hsl": {
    "h": 48.592,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73209,
    "c": 0.13265,
    "h": 95.4
  },
  "luminance": 0.39355
}

Semantic roles & 50–950 ramp

primary
#C2A734
secondary
#8693CC
accent
#64E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A734

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

Preview Lab → · Contrast checker → · Palette generator →

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