#C2B839#C2B839

#C2B839 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.143 H 104.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C2B839
RGBrgb(194, 184, 57)
HSLhsl(56, 55%, 49%)
HSVhsv(56, 71%, 76%)
CMYKcmyk(0%, 5.2%, 70.6%, 23.9%)
CIE-LABlab(73.58, -11.01, 62.31)
CIE-LCHlch(73.58, 63.27, 100.02°)
OKLaboklab(76.84% -0.0365 0.1384)
OKLCHoklch(76.84% 0.143 104.8)
XYZxyz(40.1288, 46.0473, 10.6443)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B839 #3943C2
analogous
#C27339 #C2B839 #88C239
triadic
#C2B839 #39C2B8 #B839C2
tetradic
#C2B839 #39C273 #3943C2 #C23988
square
#C2B839 #39C273 #3943C2 #C23988
split-complementary
#C2B839 #3988C2 #7339C2
monochromatic
#635E1D #938B2B #C2B839 #D2CA66 #E0DB95

Accessibility & contrast

On white

2.06
#C2B839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C2B839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B839
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B839#FFFFFF#000000##000000
##C2B8391.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B224
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#D0AC9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b839;
/* rgb */ color: rgb(194, 184, 57);
/* oklch */ color: oklch(76.8% 0.143 104.8);
Tailwind
colors: {
  custom: {
    50: '#d8cd78',
    500: '#c2b839',
    950: '#000000',
  },
}
SCSS
$custom: #c2b839;
$custom-light: #d8cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b839",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 55.62,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76843,
    "c": 0.14317,
    "h": 104.8
  },
  "luminance": 0.46046
}

Semantic roles & 50–950 ramp

primary
#C2B839
secondary
#8B90CB
accent
#55DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B839

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

Preview Lab → · Contrast checker → · Palette generator →

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