#C2B140#C2B140

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

Color values

HEX#C2B140
RGBrgb(194, 177, 64)
HSLhsl(52, 52%, 51%)
HSVhsv(52, 67%, 76%)
CMYKcmyk(0%, 8.8%, 67%, 23.9%)
CIE-LABlab(71.75, -7.01, 57.71)
CIE-LCHlch(71.75, 58.13, 96.92°)
OKLaboklab(75.41% -0.0245 0.1299)
OKLCHoklch(75.41% 0.132 100.7)
XYZxyz(38.8974, 43.2855, 11.1555)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B140 #4051C2
analogous
#C27040 #C2B140 #92C240
triadic
#C2B140 #40C2B1 #B140C2
tetradic
#C2B140 #40C270 #4051C2 #C24092
square
#C2B140 #40C270 #4051C2 #C24092
split-complementary
#C2B140 #4092C2 #7040C2
monochromatic
#675E21 #958830 #C2B140 #D1C46E #E0D79D

Accessibility & contrast

On white

2.17
#C2B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#C2B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B140
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B140#FFFFFF#000000##000000
##C2B1401.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b140;
/* rgb */ color: rgb(194, 177, 64);
/* oklch */ color: oklch(75.4% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#d8c87b',
    500: '#c2b140',
    950: '#000000',
  },
}
SCSS
$custom: #c2b140;
$custom-light: #d8c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b140",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 52.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75406,
    "c": 0.13219,
    "h": 100.7
  },
  "luminance": 0.43284
}

Semantic roles & 50–950 ramp

primary
#C2B140
secondary
#929ACC
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B140

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

Preview Lab → · Contrast checker → · Palette generator →

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