#C2B440#C2B440

#C2B440 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.0% C 0.135 H 102.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C2B440
RGBrgb(194, 180, 64)
HSLhsl(54, 52%, 51%)
HSVhsv(54, 67%, 76%)
CMYKcmyk(0%, 7.2%, 67%, 23.9%)
CIE-LABlab(72.55, -8.57, 58.53)
CIE-LCHlch(72.55, 59.16, 98.33°)
OKLaboklab(76.04% -0.0289 0.1317)
OKLCHoklch(76.04% 0.135 102.4)
XYZxyz(39.4964, 44.4836, 11.3552)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B440 #404EC2
analogous
#C27340 #C2B440 #8FC240
triadic
#C2B440 #40C2B4 #B440C2
tetradic
#C2B440 #40C273 #404EC2 #C2408F
square
#C2B440 #40C273 #404EC2 #C2408F
split-complementary
#C2B440 #408FC2 #7340C2
monochromatic
#675F21 #958A30 #C2B440 #D1C66E #E0D89D

Accessibility & contrast

On white

2.12
#C2B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#C2B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B440
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B440#FFFFFF#000000##000000
##C2B4401.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#D0A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b440;
/* rgb */ color: rgb(194, 180, 64);
/* oklch */ color: oklch(76.0% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d8ca7b',
    500: '#c2b440',
    950: '#000000',
  },
}
SCSS
$custom: #c2b440;
$custom-light: #d8ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b440",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 53.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76043,
    "c": 0.13479,
    "h": 102.4
  },
  "luminance": 0.44482
}

Semantic roles & 50–950 ramp

primary
#C2B440
secondary
#9298CC
accent
#5CDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B440

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

Preview Lab → · Contrast checker → · Palette generator →

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