#C2B13E#C2B13E

#C2B13E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.134 H 100.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C2B13E
RGBrgb(194, 177, 62)
HSLhsl(52, 52%, 50%)
HSVhsv(52, 68%, 76%)
CMYKcmyk(0%, 8.8%, 68%, 23.9%)
CIE-LABlab(71.73, -7.12, 58.51)
CIE-LCHlch(71.73, 58.94, 96.94°)
OKLaboklab(75.39% -0.025 0.1313)
OKLCHoklch(75.39% 0.134 100.8)
XYZxyz(38.8415, 43.2631, 10.8612)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B13E #3E4FC2
analogous
#C26F3E #C2B13E #91C23E
triadic
#C2B13E #3EC2B1 #B13EC2
tetradic
#C2B13E #3EC26F #3E4FC2 #C23E91
square
#C2B13E #3EC26F #3E4FC2 #C23E91
split-complementary
#C2B13E #3E91C2 #6F3EC2
monochromatic
#665D20 #94872F #C2B13E #D1C46D #DFD79B

Accessibility & contrast

On white

2.18
#C2B13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C2B13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B13E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B13E#FFFFFF#000000##000000
##C2B13E1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b13e;
/* rgb */ color: rgb(194, 177, 62);
/* oklch */ color: oklch(75.4% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#d8c87a',
    500: '#c2b13e',
    950: '#000000',
  },
}
SCSS
$custom: #c2b13e;
$custom-light: #d8c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b13e",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 52.273,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7539,
    "c": 0.13363,
    "h": 100.8
  },
  "luminance": 0.43261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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