#C2B345#C2B345

#C2B345 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.130 H 101.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#C2B345
RGBrgb(194, 179, 69)
HSLhsl(53, 51%, 52%)
HSVhsv(53, 64%, 76%)
CMYKcmyk(0%, 7.7%, 64.4%, 23.9%)
CIE-LABlab(72.32, -7.75, 56.20)
CIE-LCHlch(72.32, 56.73, 97.85°)
OKLaboklab(75.88% -0.026 0.1275)
OKLCHoklch(75.88% 0.13 101.5)
XYZxyz(39.4440, 44.1408, 12.0714)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B345 #4554C2
analogous
#C27545 #C2B345 #93C245
triadic
#C2B345 #45C2B3 #B345C2
tetradic
#C2B345 #45C275 #4554C2 #C24593
square
#C2B345 #45C275 #4554C2 #C24593
split-complementary
#C2B345 #4593C2 #7545C2
monochromatic
#6A6123 #988C32 #C2B345 #D1C673 #E0D9A1

Accessibility & contrast

On white

2.14
#C2B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#C2B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B345
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B345#FFFFFF#000000##000000
##C2B3451.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#D0A79C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b345;
/* rgb */ color: rgb(194, 179, 69);
/* oklch */ color: oklch(75.9% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d8c97e',
    500: '#c2b345',
    950: '#000000',
  },
}
SCSS
$custom: #c2b345;
$custom-light: #d8c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b345",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 52.8,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75875,
    "c": 0.13015,
    "h": 101.5
  },
  "luminance": 0.44139
}

Semantic roles & 50–950 ramp

primary
#C2B345
secondary
#969DCD
accent
#5FDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B345

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

Preview Lab → · Contrast checker → · Palette generator →

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