#C2B642#C2B642

#C2B642 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.135 H 103.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C2B642
RGBrgb(194, 182, 66)
HSLhsl(54, 51%, 51%)
HSVhsv(54, 66%, 76%)
CMYKcmyk(0%, 6.2%, 66%, 23.9%)
CIE-LABlab(73.10, -9.49, 58.28)
CIE-LCHlch(73.10, 59.05, 99.25°)
OKLaboklab(76.49% -0.0313 0.1315)
OKLCHoklch(76.49% 0.135 103.4)
XYZxyz(39.9610, 45.3201, 11.7959)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B642 #424EC2
analogous
#C27642 #C2B642 #8EC242
triadic
#C2B642 #42C2B6 #B642C2
tetradic
#C2B642 #42C276 #424EC2 #C2428E
square
#C2B642 #42C276 #424EC2 #C2428E
split-complementary
#C2B642 #428EC2 #7642C2
monochromatic
#686122 #968D31 #C2B642 #D1C870 #E0DA9F

Accessibility & contrast

On white

2.09
#C2B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#C2B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B642
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B642#FFFFFF#000000##000000
##C2B6421.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#D0AA9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b642;
/* rgb */ color: rgb(194, 182, 66);
/* oklch */ color: oklch(76.5% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#d8cb7c',
    500: '#c2b642',
    950: '#000000',
  },
}
SCSS
$custom: #c2b642;
$custom-light: #d8cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b642",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 54.375,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.13512,
    "h": 103.4
  },
  "luminance": 0.45319
}

Semantic roles & 50–950 ramp

primary
#C2B642
secondary
#9499CC
accent
#5ADB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B642

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

Preview Lab → · Contrast checker → · Palette generator →

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