#C2B339#C2B339

#C2B339 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.139 H 102.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C2B339
RGBrgb(194, 179, 57)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 76%)
CMYKcmyk(0%, 7.7%, 70.6%, 23.9%)
CIE-LABlab(72.23, -8.42, 60.98)
CIE-LCHlch(72.23, 61.56, 97.87°)
OKLaboklab(75.78% -0.0292 0.1356)
OKLCHoklch(75.78% 0.139 102.2)
XYZxyz(39.1085, 44.0066, 10.3042)
Luminance0.4400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B339 #3948C2
analogous
#C26F39 #C2B339 #8DC239
triadic
#C2B339 #39C2B3 #B339C2
tetradic
#C2B339 #39C26F #3948C2 #C2398D
square
#C2B339 #39C26F #3948C2 #C2398D
split-complementary
#C2B339 #398DC2 #6F39C2
monochromatic
#635C1D #93872B #C2B339 #D2C666 #E0D895

Accessibility & contrast

On white

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

On black

9.80
#C2B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B339
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B339#FFFFFF#000000##000000
##C2B3391.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#D1A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b339;
/* rgb */ color: rgb(194, 179, 57);
/* oklch */ color: oklch(75.8% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#d8c977',
    500: '#c2b339',
    950: '#000000',
  },
}
SCSS
$custom: #c2b339;
$custom-light: #d8c977;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b339",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 53.431,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.13875,
    "h": 102.2
  },
  "luminance": 0.44005
}

Semantic roles & 50–950 ramp

primary
#C2B339
secondary
#8B92CB
accent
#5ADE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B339

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

Preview Lab → · Contrast checker → · Palette generator →

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