#C2B23A#C2B23A

#C2B23A is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.137 H 101.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C2B23A
RGBrgb(194, 178, 58)
HSLhsl(53, 54%, 49%)
HSVhsv(53, 70%, 76%)
CMYKcmyk(0%, 8.2%, 70.1%, 23.9%)
CIE-LABlab(71.97, -7.85, 60.34)
CIE-LCHlch(71.97, 60.85, 97.42°)
OKLaboklab(75.57% -0.0275 0.1344)
OKLCHoklch(75.57% 0.137 101.6)
XYZxyz(38.9340, 43.6173, 10.3703)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B23A #3A4AC2
analogous
#C26E3A #C2B23A #8EC23A
triadic
#C2B23A #3AC2B2 #B23AC2
tetradic
#C2B23A #3AC26E #3A4AC2 #C23A8E
square
#C2B23A #3AC26E #3A4AC2 #C23A8E
split-complementary
#C2B23A #3A8EC2 #6E3AC2
monochromatic
#645C1E #93872C #C2B23A #D2C567 #E0D797

Accessibility & contrast

On white

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

On black

9.72
#C2B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B23A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B23A#FFFFFF#000000##000000
##C2B23A1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD28
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#D1A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b23a;
/* rgb */ color: rgb(194, 178, 58);
/* oklch */ color: oklch(75.6% 0.137 101.6);
Tailwind
colors: {
  custom: {
    50: '#d8c877',
    500: '#c2b23a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b23a;
$custom-light: #d8c877;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b23a",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 52.941,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7557,
    "c": 0.13724,
    "h": 101.6
  },
  "luminance": 0.43616
}

Semantic roles & 50–950 ramp

primary
#C2B23A
secondary
#8D94CB
accent
#5CDD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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