#CFB143#CFB143

#CFB143 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.131 H 93.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CFB143
RGBrgb(207, 177, 67)
HSLhsl(47, 59%, 54%)
HSVhsv(47, 68%, 81%)
CMYKcmyk(0%, 14.5%, 67.6%, 18.8%)
CIE-LABlab(72.97, -1.24, 58.09)
CIE-LCHlch(72.97, 58.11, 91.22°)
OKLaboklab(76.66% -0.0084 0.1308)
OKLCHoklch(76.66% 0.131 93.7)
XYZxyz(42.4695, 45.1172, 11.7806)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB143 #4361CF
analogous
#CF6B43 #CFB143 #A7CF43
triadic
#CFB143 #43CFB1 #B143CF
tetradic
#CFB143 #43CF6B #4361CF #CF43A7
square
#CFB143 #43CF6B #4361CF #CF43A7
split-complementary
#CFB143 #43A7CF #6B43CF
monochromatic
#79651F #AA8E2B #CFB143 #DBC574 #E8D9A5

Accessibility & contrast

On white

2.10
#CFB143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CFB143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB143
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB143#FFFFFF#000000##000000
##CFB1431.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE35
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb143;
/* rgb */ color: rgb(207, 177, 67);
/* oklch */ color: oklch(76.7% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#e1c87d',
    500: '#cfb143',
    950: '#000000',
  },
}
SCSS
$custom: #cfb143;
$custom-light: #e1c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb143",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 47.143,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76663,
    "c": 0.13108,
    "h": 93.7
  },
  "luminance": 0.45115
}

Semantic roles & 50–950 ramp

primary
#CFB143
secondary
#99A6D5
accent
#67E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB143

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

Preview Lab → · Contrast checker → · Palette generator →

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