#C2B340#C2B340

#C2B340 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.8% C 0.134 H 101.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C2B340
RGBrgb(194, 179, 64)
HSLhsl(53, 52%, 51%)
HSVhsv(53, 67%, 76%)
CMYKcmyk(0%, 7.7%, 67%, 23.9%)
CIE-LABlab(72.28, -8.05, 58.26)
CIE-LCHlch(72.28, 58.81, 97.87°)
OKLaboklab(75.83% -0.0274 0.1311)
OKLCHoklch(75.83% 0.134 101.8)
XYZxyz(39.2953, 44.0813, 11.2882)
Luminance0.4408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B340 #404FC2
analogous
#C27240 #C2B340 #90C240
triadic
#C2B340 #40C2B3 #B340C2
tetradic
#C2B340 #40C272 #404FC2 #C24090
square
#C2B340 #40C272 #404FC2 #C24090
split-complementary
#C2B340 #4090C2 #7240C2
monochromatic
#675F21 #958930 #C2B340 #D1C56E #E0D89D

Accessibility & contrast

On white

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

On black

9.82
#C2B340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B340
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B340#FFFFFF#000000##000000
##C2B3401.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE31
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#D0A79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b340;
/* rgb */ color: rgb(194, 179, 64);
/* oklch */ color: oklch(75.8% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#d8c97b',
    500: '#c2b340',
    950: '#000000',
  },
}
SCSS
$custom: #c2b340;
$custom-light: #d8c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b340",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 53.077,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75831,
    "c": 0.13391,
    "h": 101.8
  },
  "luminance": 0.4408
}

Semantic roles & 50–950 ramp

primary
#C2B340
secondary
#9299CC
accent
#5DDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B340

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

Preview Lab → · Contrast checker → · Palette generator →

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