#C2B23E#C2B23E

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

Color values

HEX#C2B23E
RGBrgb(194, 178, 62)
HSLhsl(53, 52%, 50%)
HSVhsv(53, 68%, 76%)
CMYKcmyk(0%, 8.2%, 68%, 23.9%)
CIE-LABlab(72.00, -7.64, 58.78)
CIE-LCHlch(72.00, 59.28, 97.41°)
OKLaboklab(75.6% -0.0265 0.1319)
OKLCHoklch(75.6% 0.134 101.4)
XYZxyz(39.0397, 43.6596, 10.9273)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B23E #3E4EC2
analogous
#C2703E #C2B23E #90C23E
triadic
#C2B23E #3EC2B2 #B23EC2
tetradic
#C2B23E #3EC270 #3E4EC2 #C23E90
square
#C2B23E #3EC270 #3E4EC2 #C23E90
split-complementary
#C2B23E #3E90C2 #703EC2
monochromatic
#665D20 #94882F #C2B23E #D1C56D #DFD79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B23E#FFFFFF#000000##000000
##C2B23E1.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)
#C2AD2E
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b23e;
/* rgb */ color: rgb(194, 178, 62);
/* oklch */ color: oklch(75.6% 0.134 101.4);
Tailwind
colors: {
  custom: {
    50: '#d8c87a',
    500: '#c2b23e',
    950: '#000000',
  },
}
SCSS
$custom: #c2b23e;
$custom-light: #d8c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b23e",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 52.727,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75602,
    "c": 0.13448,
    "h": 101.4
  },
  "luminance": 0.43658
}

Semantic roles & 50–950 ramp

primary
#C2B23E
secondary
#9098CB
accent
#5EDB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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