#C2B23F#C2B23F

#C2B23F is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.134 H 101.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C2B23F
RGBrgb(194, 178, 63)
HSLhsl(53, 52%, 50%)
HSVhsv(53, 68%, 76%)
CMYKcmyk(0%, 8.2%, 67.5%, 23.9%)
CIE-LABlab(72.01, -7.58, 58.38)
CIE-LCHlch(72.01, 58.87, 97.40°)
OKLaboklab(75.61% -0.0262 0.1312)
OKLCHoklch(75.61% 0.134 101.3)
XYZxyz(39.0674, 43.6707, 11.0731)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B23F #3F4FC2
analogous
#C2703F #C2B23F #90C23F
triadic
#C2B23F #3FC2B2 #B23FC2
tetradic
#C2B23F #3FC270 #3F4FC2 #C23F90
square
#C2B23F #3FC270 #3F4FC2 #C23F90
split-complementary
#C2B23F #3F90C2 #703FC2
monochromatic
#665E20 #95882F #C2B23F #D1C56D #E0D79C

Accessibility & contrast

On white

2.16
#C2B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C2B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B23F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B23F#FFFFFF#000000##000000
##C2B23F1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2F
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#D1A69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b23f;
/* rgb */ color: rgb(194, 178, 63);
/* oklch */ color: oklch(75.6% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#d8c87a',
    500: '#c2b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c2b23f;
$custom-light: #d8c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b23f",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 52.672,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7561,
    "c": 0.13376,
    "h": 101.3
  },
  "luminance": 0.43669
}

Semantic roles & 50–950 ramp

primary
#C2B23F
secondary
#9198CC
accent
#5EDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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