#C2B23B#C2B23B

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

Color values

HEX#C2B23B
RGBrgb(194, 178, 59)
HSLhsl(53, 53%, 50%)
HSVhsv(53, 70%, 76%)
CMYKcmyk(0%, 8.2%, 69.6%, 23.9%)
CIE-LABlab(71.98, -7.80, 59.96)
CIE-LCHlch(71.98, 60.46, 97.41°)
OKLaboklab(75.58% -0.0273 0.1338)
OKLCHoklch(75.58% 0.137 101.5)
XYZxyz(38.9597, 43.6276, 10.5056)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B23B #3B4BC2
analogous
#C26F3B #C2B23B #8FC23B
triadic
#C2B23B #3BC2B2 #B23BC2
tetradic
#C2B23B #3BC26F #3B4BC2 #C23B8F
square
#C2B23B #3BC26F #3B4BC2 #C23B8F
split-complementary
#C2B23B #3B8FC2 #6F3BC2
monochromatic
#645C1E #93872D #C2B23B #D1C569 #E0D798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B23B#FFFFFF#000000##000000
##C2B23B1.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)
#C2AD29
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#D1A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b23b;
/* rgb */ color: rgb(194, 178, 59);
/* oklch */ color: oklch(75.6% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#d8c878',
    500: '#c2b23b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b23b;
$custom-light: #d8c878;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b23b",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 52.889,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75578,
    "c": 0.13656,
    "h": 101.5
  },
  "luminance": 0.43626
}

Semantic roles & 50–950 ramp

primary
#C2B23B
secondary
#8E95CB
accent
#5CDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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