#C2B83B#C2B83B

#C2B83B is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.9% C 0.142 H 104.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C2B83B
RGBrgb(194, 184, 59)
HSLhsl(56, 53%, 50%)
HSVhsv(56, 70%, 76%)
CMYKcmyk(0%, 5.2%, 69.6%, 23.9%)
CIE-LABlab(73.59, -10.91, 61.56)
CIE-LCHlch(73.59, 62.52, 100.05°)
OKLaboklab(76.86% -0.036 0.1372)
OKLCHoklch(76.86% 0.142 104.7)
XYZxyz(40.1797, 46.0676, 10.9123)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B83B #3B45C2
analogous
#C2753B #C2B83B #88C23B
triadic
#C2B83B #3BC2B8 #B83BC2
tetradic
#C2B83B #3BC275 #3B45C2 #C23B88
square
#C2B83B #3BC275 #3B45C2 #C23B88
split-complementary
#C2B83B #3B88C2 #753BC2
monochromatic
#645F1E #938B2D #C2B83B #D1CA69 #E0DA98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B83B#FFFFFF#000000##000000
##C2B83B1.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)
#C8B228
Deuteranopia (green-blind)
#CCB743
Tritanopia (blue-blind)
#D0AC9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b83b;
/* rgb */ color: rgb(194, 184, 59);
/* oklch */ color: oklch(76.9% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#d8cd79',
    500: '#c2b83b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b83b;
$custom-light: #d8cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b83b",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 59
  },
  "hsl": {
    "h": 55.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76858,
    "c": 0.14187,
    "h": 104.7
  },
  "luminance": 0.46066
}

Semantic roles & 50–950 ramp

primary
#C2B83B
secondary
#8E92CB
accent
#56DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B83B

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

Preview Lab → · Contrast checker → · Palette generator →

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