#C2B23D#C2B23D

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

Color values

HEX#C2B23D
RGBrgb(194, 178, 61)
HSLhsl(53, 52%, 50%)
HSVhsv(53, 69%, 76%)
CMYKcmyk(0%, 8.2%, 68.6%, 23.9%)
CIE-LABlab(71.99, -7.70, 59.18)
CIE-LCHlch(71.99, 59.68, 97.41°)
OKLaboklab(75.59% -0.0267 0.1325)
OKLCHoklch(75.59% 0.135 101.4)
XYZxyz(39.0125, 43.6487, 10.7841)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B23D #3D4DC2
analogous
#C2703D #C2B23D #8FC23D
triadic
#C2B23D #3DC2B2 #B23DC2
tetradic
#C2B23D #3DC270 #3D4DC2 #C23D8F
square
#C2B23D #3DC270 #3D4DC2 #C23D8F
split-complementary
#C2B23D #3D8FC2 #703DC2
monochromatic
#655D20 #93872E #C2B23D #D1C46C #DFD79A

Accessibility & contrast

On white

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

On black

9.73
#C2B23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B23D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B23D#FFFFFF#000000##000000
##C2B23D1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2C
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b23d;
/* rgb */ color: rgb(194, 178, 61);
/* oklch */ color: oklch(75.6% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#d8c879',
    500: '#c2b23d',
    950: '#000000',
  },
}
SCSS
$custom: #c2b23d;
$custom-light: #d8c879;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b23d",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 52.782,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.13518,
    "h": 101.4
  },
  "luminance": 0.43647
}

Semantic roles & 50–950 ramp

primary
#C2B23D
secondary
#9097CB
accent
#5DDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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