#C7B23E#C7B23E

#C7B23E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.135 H 98.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C7B23E
RGBrgb(199, 178, 62)
HSLhsl(51, 55%, 51%)
HSVhsv(51, 69%, 78%)
CMYKcmyk(0%, 10.6%, 68.8%, 22%)
CIE-LABlab(72.45, -5.48, 59.38)
CIE-LCHlch(72.45, 59.64, 95.28°)
OKLaboklab(76.07% -0.0206 0.133)
OKLCHoklch(76.07% 0.135 98.8)
XYZxyz(40.3449, 44.3326, 10.9884)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B23E #3E53C7
analogous
#C76D3E #C7B23E #97C73E
triadic
#C7B23E #3EC7B2 #B23EC7
tetradic
#C7B23E #3EC76D #3E53C7 #C73E97
square
#C7B23E #3EC76D #3E53C7 #C73E97
split-complementary
#C7B23E #3E97C7 #6D3EC7
monochromatic
#6B601F #9B8A2D #C7B23E #D5C56D #E3D89D

Accessibility & contrast

On white

2.13
#C7B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C7B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B23E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B23E#FFFFFF#000000##000000
##C7B23E1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#D6A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b23e;
/* rgb */ color: rgb(199, 178, 62);
/* oklch */ color: oklch(76.1% 0.135 98.8);
Tailwind
colors: {
  custom: {
    50: '#dcc87a',
    500: '#c7b23e',
    950: '#000000',
  },
}
SCSS
$custom: #c7b23e;
$custom-light: #dcc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b23e",
  "rgb": {
    "r": 199,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 50.803,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76065,
    "c": 0.13455,
    "h": 98.8
  },
  "luminance": 0.44331
}

Semantic roles & 50–950 ramp

primary
#C7B23E
secondary
#929BCF
accent
#60DE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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