#CFB23E#CFB23E

#CFB23E is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.135 H 94.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CFB23E
RGBrgb(207, 178, 62)
HSLhsl(48, 60%, 53%)
HSVhsv(48, 70%, 81%)
CMYKcmyk(0%, 14%, 70%, 18.8%)
CIE-LABlab(73.19, -2.03, 60.38)
CIE-LCHlch(73.19, 60.41, 91.93°)
OKLaboklab(76.83% -0.0113 0.1348)
OKLCHoklch(76.83% 0.135 94.8)
XYZxyz(42.5242, 45.4563, 11.0906)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB23E #3E5BCF
analogous
#CF693E #CFB23E #A3CF3E
triadic
#CFB23E #3ECFB2 #B23ECF
tetradic
#CFB23E #3ECF69 #3E5BCF #CF3EA3
square
#CFB23E #3ECF69 #3E5BCF #CF3EA3
split-complementary
#CFB23E #3EA3CF #693ECF
monochromatic
#75641D #A68D29 #CFB23E #DBC66F #E7D9A0

Accessibility & contrast

On white

2.08
#CFB23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#CFB23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB23E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB23E#FFFFFF#000000##000000
##CFB23E1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2E
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#DFA49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb23e;
/* rgb */ color: rgb(207, 178, 62);
/* oklch */ color: oklch(76.8% 0.135 94.8);
Tailwind
colors: {
  custom: {
    50: '#e1c87a',
    500: '#cfb23e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb23e;
$custom-light: #e1c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb23e",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 48,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76826,
    "c": 0.13525,
    "h": 94.8
  },
  "luminance": 0.45454
}

Semantic roles & 50–950 ramp

primary
#CFB23E
secondary
#95A2D4
accent
#64E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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