#C2B745#C2B745

#C2B745 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.7% C 0.134 H 103.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C2B745
RGBrgb(194, 183, 69)
HSLhsl(55, 51%, 52%)
HSVhsv(55, 64%, 76%)
CMYKcmyk(0%, 5.7%, 64.4%, 23.9%)
CIE-LABlab(73.39, -9.82, 57.34)
CIE-LCHlch(73.39, 58.17, 99.72°)
OKLaboklab(76.73% -0.0319 0.1299)
OKLCHoklch(76.73% 0.134 103.8)
XYZxyz(40.2573, 45.7675, 12.3425)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B745 #4550C2
analogous
#C27945 #C2B745 #8FC245
triadic
#C2B745 #45C2B7 #B745C2
tetradic
#C2B745 #45C279 #4550C2 #C2458F
square
#C2B745 #45C279 #4550C2 #C2458F
split-complementary
#C2B745 #458FC2 #7945C2
monochromatic
#6A6423 #988F32 #C2B745 #D1C973 #E0DBA1

Accessibility & contrast

On white

2.07
#C2B745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C2B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B745
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B745#FFFFFF#000000##000000
##C2B7451.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#D0AB9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b745;
/* rgb */ color: rgb(194, 183, 69);
/* oklch */ color: oklch(76.7% 0.134 103.8);
Tailwind
colors: {
  custom: {
    50: '#d7cc7e',
    500: '#c2b745',
    950: '#000000',
  },
}
SCSS
$custom: #c2b745;
$custom-light: #d7cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b745",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 54.72,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.13378,
    "h": 103.8
  },
  "luminance": 0.45766
}

Semantic roles & 50–950 ramp

primary
#C2B745
secondary
#969BCD
accent
#5ADA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B745

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

Preview Lab → · Contrast checker → · Palette generator →

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